|
|
# 模特管理
|
|
|
---------------------
|
|
|
|
|
|
## 查询模特信息(api接口)
|
|
|
|
|
|
> 接口名:`model/queryApiModelList`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|status|int|1| 状态 0禁用 1启用 默认启用 可不传 |
|
|
|
---------------------
|
|
|
### 出参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"modelType": 1
|
|
|
}
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 180,
|
|
|
"id": 1,
|
|
|
"modelName": "测试",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "3,4,4",
|
|
|
"weight": 80
|
|
|
},
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 162,
|
|
|
"id": 17,
|
|
|
"modelName": "李馨彤",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "77,67,86",
|
|
|
"weight": 42
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 163,
|
|
|
"id": 19,
|
|
|
"modelName": "Cherry Lee",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "77/67/86",
|
|
|
"weight": 42
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/17/05/016e341aef5d2b1a6c54dcf064e8eb0c8b.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 172,
|
|
|
"id": 21,
|
|
|
"modelName": "Yuki",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "85/71/93",
|
|
|
"weight": 54
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/18/01/011c7aa0035212351482ec01a41afb1fd2.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 175,
|
|
|
"id": 25,
|
|
|
"modelName": "Oliver",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "78,70,87",
|
|
|
"weight": 51
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/23/04/01defebb15086c6a757ded83d7567f3d3d.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 182,
|
|
|
"id": 27,
|
|
|
"modelName": "Jeff",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "87,80,97",
|
|
|
"weight": 70
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/09/07/03/01329cb56fdf4ee424b2969978a34a96ad.png",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 166,
|
|
|
"id": 29,
|
|
|
"modelName": "Yio",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "80,66,90",
|
|
|
"weight": 52
|
|
|
},
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 0,
|
|
|
"id": 32,
|
|
|
"modelName": "",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "",
|
|
|
"weight": 0
|
|
|
},
|
|
|
{
|
|
|
"avatar": "https://pandao.github.io/editor.md/examples/simple.html",
|
|
|
"dressSize": "33",
|
|
|
"height": 187,
|
|
|
"id": 37,
|
|
|
"modelName": "sdfsdf",
|
|
|
"modelType": 1,
|
|
|
"nationality": "zhognguo",
|
|
|
"shoeSize": "3",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "12|32|33",
|
|
|
"weight": 33
|
|
|
}
|
|
|
],
|
|
|
"page": 0,
|
|
|
"size": 0,
|
|
|
"total": 0,
|
|
|
"totalPage": 0
|
|
|
},
|
|
|
"md5": "ddf3e68f4b6d1118b02dcd82fba6aec8",
|
|
|
"message": "模特列表"
|
|
|
}
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 405,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": ""
|
|
|
}
|
|
|
```
|
|
|
## 查询模特信息(前台页面调用)
|
|
|
|
|
|
> 接口名:`model/queryModelList`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|status|int|1| 状态 0禁用 1启用 默认启用 可不传 |
|
|
|
|modelName|string|安吉| 名称 模糊查询 |
|
|
|
|englishName|string|ssss| 英文名称 模糊查询 |
|
|
|
|beginTime|int|1222222222| 试穿模特创建开始时间 试穿模特用 |
|
|
|
|endTime|int|11111111111| 试穿模特创建接受时间 试穿模特用|
|
|
|
|
|
|
---------------------
|
|
|
### 出参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"modelType": 1
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"avatar": "",
|
|
|
"createTime": 1458121145,
|
|
|
"dressSize": "222",
|
|
|
"englishName": "李建",
|
|
|
"height": 99,
|
|
|
"id": 36,
|
|
|
"modelName": "33333333",
|
|
|
"modelType": 2,
|
|
|
"nationality": "ssssssss",
|
|
|
"shoeSize": "1221",
|
|
|
"status": 2,
|
|
|
"updateTime": 1458122434,
|
|
|
"vitalStatistics": "12|22222|33",
|
|
|
"weight": 22
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
|
|
"size": 10,
|
|
|
"total": 1,
|
|
|
"totalPage": 1
|
|
|
},
|
|
|
"md5": "7e72a393f4ed1d88eccad33ef28b5100",
|
|
|
"message": "模特列表"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
## 新增模特信息
|
|
|
|
|
|
> 接口名:`model/addModel`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 必传 |
|
|
|
|dressSize|string|xl| 穿衣尺码 必传|
|
|
|
|modelName|string|1|名称 必传 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 必传|
|
|
|
|nationality|string|中国|国籍 必传|
|
|
|
|shoeSize|string|36| 鞋尺码 必传 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86 必传|
|
|
|
|weight|int|60| 体重 必传|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 必传 |
|
|
|
|modelCard|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 模特卡 必传 |
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例: 新增
|
|
|
{
|
|
|
"nationality":"中国",
|
|
|
"vitalStatistics": "12/22/33",
|
|
|
"weight": 22,
|
|
|
"height": 199,
|
|
|
"dressSize": "xl",
|
|
|
"modelName": "sss",
|
|
|
"shoeSize": 1221,
|
|
|
"avatar":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelCard":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelType": 2,
|
|
|
"status":2
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "新增模特信息成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 修改模特信息
|
|
|
|
|
|
> 接口名:`model/updateModel`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例: 新增
|
|
|
{
|
|
|
"id":36,
|
|
|
"nationality":"ssssssss",
|
|
|
"vitalStatistics": "12|22|33",
|
|
|
"weight": 22,
|
|
|
"height": 199,
|
|
|
"dressSize": "xl",
|
|
|
"modelName": "sss",
|
|
|
"shoeSize": 1221,
|
|
|
"avatar":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelCard":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelType": 2,
|
|
|
"status":2
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "修改模特信息成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
# 模特管理
|
|
|
---------------------
|
|
|
|
|
|
## 查询模特信息(api接口)
|
|
|
|
|
|
> 接口名:`model/queryApiModelList`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|status|int|1| 状态 0禁用 1启用 默认启用 可不传 |
|
|
|
---------------------
|
|
|
### 出参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"modelType": 1
|
|
|
}
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 180,
|
|
|
"id": 1,
|
|
|
"modelName": "测试",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "3,4,4",
|
|
|
"weight": 80
|
|
|
},
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 162,
|
|
|
"id": 17,
|
|
|
"modelName": "李馨彤",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "77,67,86",
|
|
|
"weight": 42
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 163,
|
|
|
"id": 19,
|
|
|
"modelName": "Cherry Lee",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "77/67/86",
|
|
|
"weight": 42
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/17/05/016e341aef5d2b1a6c54dcf064e8eb0c8b.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 172,
|
|
|
"id": 21,
|
|
|
"modelName": "Yuki",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "85/71/93",
|
|
|
"weight": 54
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/18/01/011c7aa0035212351482ec01a41afb1fd2.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 175,
|
|
|
"id": 25,
|
|
|
"modelName": "Oliver",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "78,70,87",
|
|
|
"weight": 51
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/07/23/04/01defebb15086c6a757ded83d7567f3d3d.jpg",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 182,
|
|
|
"id": 27,
|
|
|
"modelName": "Jeff",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "87,80,97",
|
|
|
"weight": 70
|
|
|
},
|
|
|
{
|
|
|
"avatar": "/2015/09/07/03/01329cb56fdf4ee424b2969978a34a96ad.png",
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 166,
|
|
|
"id": 29,
|
|
|
"modelName": "Yio",
|
|
|
"modelType": 2,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "80,66,90",
|
|
|
"weight": 52
|
|
|
},
|
|
|
{
|
|
|
"dressSize": "",
|
|
|
"englishName": "",
|
|
|
"height": 0,
|
|
|
"id": 32,
|
|
|
"modelName": "",
|
|
|
"modelType": 1,
|
|
|
"nationality": "",
|
|
|
"shoeSize": "",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "",
|
|
|
"weight": 0
|
|
|
},
|
|
|
{
|
|
|
"avatar": "https://pandao.github.io/editor.md/examples/simple.html",
|
|
|
"dressSize": "33",
|
|
|
"height": 187,
|
|
|
"id": 37,
|
|
|
"modelName": "sdfsdf",
|
|
|
"modelType": 1,
|
|
|
"nationality": "zhognguo",
|
|
|
"shoeSize": "3",
|
|
|
"status": 1,
|
|
|
"vitalStatistics": "12|32|33",
|
|
|
"weight": 33
|
|
|
}
|
|
|
],
|
|
|
"page": 0,
|
|
|
"size": 0,
|
|
|
"total": 0,
|
|
|
"totalPage": 0
|
|
|
},
|
|
|
"md5": "ddf3e68f4b6d1118b02dcd82fba6aec8",
|
|
|
"message": "模特列表"
|
|
|
}
|
|
|
异常返回:
|
|
|
{
|
|
|
"code": 405,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": ""
|
|
|
}
|
|
|
```
|
|
|
## 查询模特信息(前台页面调用)
|
|
|
|
|
|
> 接口名:`model/queryModelList`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|status|int|1| 状态 0禁用 1启用 默认启用 可不传 |
|
|
|
|modelName|string|安吉| 名称 模糊查询 |
|
|
|
|englishName|string|ssss| 英文名称 模糊查询 |
|
|
|
|beginTime|int|1222222222| 试穿模特创建开始时间 试穿模特用 |
|
|
|
|endTime|int|11111111111| 试穿模特创建接受时间 试穿模特用|
|
|
|
|
|
|
---------------------
|
|
|
### 出参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 可不传 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例:
|
|
|
{
|
|
|
"modelType": 1
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"list": [
|
|
|
{
|
|
|
"avatar": "",
|
|
|
"createTime": 1458121145,
|
|
|
"dressSize": "222",
|
|
|
"englishName": "李建",
|
|
|
"height": 99,
|
|
|
"id": 36,
|
|
|
"modelName": "33333333",
|
|
|
"modelType": 2,
|
|
|
"nationality": "ssssssss",
|
|
|
"shoeSize": "1221",
|
|
|
"status": 2,
|
|
|
"updateTime": 1458122434,
|
|
|
"vitalStatistics": "12|22222|33",
|
|
|
"weight": 22
|
|
|
}
|
|
|
],
|
|
|
"page": 1,
|
|
|
"size": 10,
|
|
|
"total": 1,
|
|
|
"totalPage": 1
|
|
|
},
|
|
|
"md5": "7e72a393f4ed1d88eccad33ef28b5100",
|
|
|
"message": "模特列表"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
## 新增模特信息
|
|
|
|
|
|
> 接口名:`model/addModel`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 必传 |
|
|
|
|dressSize|string|xl| 穿衣尺码 必传|
|
|
|
|modelName|string|1|名称 必传 |
|
|
|
|modelType|int|1| 1 拍摄模特 2 试穿模特 必传|
|
|
|
|nationality|string|中国|国籍 必传|
|
|
|
|shoeSize|string|36| 鞋尺码 必传 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86 必传|
|
|
|
|weight|int|60| 体重 必传|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 必传 |
|
|
|
|modelCard|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 模特卡 必传 |
|
|
|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例: 新增
|
|
|
{
|
|
|
"nationality":"中国",
|
|
|
"vitalStatistics": "12/22/33",
|
|
|
"weight": 22,
|
|
|
"height": 199,
|
|
|
"dressSize": "xl",
|
|
|
"modelName": "sss",
|
|
|
"shoeSize": 1221,
|
|
|
"avatar":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelCard":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelType": 2,
|
|
|
"status":2
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "新增模特信息成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
## 修改模特信息
|
|
|
|
|
|
> 接口名:`model/updateModel`
|
|
|
|
|
|
### 入参
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|
|
|
|
|--------|----|----|----|
|
|
|
|id|int|11| 主键|
|
|
|
|englishName|string|mali| 英文名 |
|
|
|
|height|int|166|身体 |
|
|
|
|dressSize|string|xl| 穿衣尺码 |
|
|
|
|modelName|string|1|名称 |
|
|
|
|nationality|string|中国|国籍 |
|
|
|
|shoeSize|string|36| 鞋尺码 |
|
|
|
|status|int|1| 0 禁用 1 启用 |
|
|
|
|vitalStatistics|string|三围|77/67/86|
|
|
|
|weight|int|60| 体重|
|
|
|
|avatar|string|http://img13.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png| 头像 |
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
请求样例: 新增
|
|
|
{
|
|
|
"id":36,
|
|
|
"nationality":"ssssssss",
|
|
|
"vitalStatistics": "12|22|33",
|
|
|
"weight": 22,
|
|
|
"height": 199,
|
|
|
"dressSize": "xl",
|
|
|
"modelName": "sss",
|
|
|
"shoeSize": 1221,
|
|
|
"avatar":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelCard":"https://pandao.github.io/editor.md/example2222222s/simple.html",
|
|
|
"modelType": 2,
|
|
|
"status":2
|
|
|
}
|
|
|
返回
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "修改模特信息成功"
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
...
|
...
|
|