Authored by lijian

模特试穿

  1 +# 产品试穿信息管理
  2 +---------------------
  3 +
  4 +## 查询产品图片列表信息
  5 +
  6 +> 接口名:`productExtraInfo/queryProdExtraList`
  7 +
  8 +### 入参
  9 +
  10 +-------------------------
  11 +|属性名称|类型|例子|说明|
  12 +|--------|----|----|----|
  13 +|productSkn|int|234234|产品skn |
  14 +|productName|string|阿迪| 产品名称|
  15 +|productSku|int|234234| 产品sku|
  16 +---------------------
  17 +
  18 + ---------------------
  19 +
  20 +### 返回
  21 +
  22 +``` json
  23 +请求样例:
  24 +{
  25 + "productSkn":"50000055"
  26 +}
  27 +正常返回:
  28 +{
  29 + "code": 200,
  30 + "data": {
  31 + "list": [
  32 + {
  33 + "brandId": 175,
  34 + "brandName": "团一",
  35 + "defaultImg": "http://img13.static.yhbimg.com/goodsimg/2011/06/24/13/02e571a64cea3ea8e734f8f0aae790fb4d.jpg",
  36 + "productId": 5675,
  37 + "productName": "团一复古花纹满本图案牛皮纸笔记本",
  38 + "productSkn": 50000055
  39 + }
  40 + ],
  41 + "page": 1,
  42 + "size": 10,
  43 + "total": 1,
  44 + "totalPage": 1
  45 + },
  46 + "md5": "9b566aa98b1973d71026605411ea62d4",
  47 + "message": "拍摄产品信息列表"
  48 +}
  49 +异常返回:
  50 +{
  51 + "code": 405,
  52 + "data": [],
  53 + "md5": "d751713988987e9331980363e24189ce",
  54 + "message": ""
  55 +}
  56 +
  57 +```
  58 +
  59 +## 查询试穿产品附信息(试穿信息,是否测量信息)
  60 +
  61 +> 接口名:`productExtraInfo/queryProdExtraInfo`
  62 +
  63 +### 入参
  64 +
  65 +-------------------------
  66 +|属性名称|类型|例子|说明|
  67 +|--------|----|----|----|
  68 +|productSkn|int|526456456|产品skn 必传 |
  69 +---------------------
  70 +
  71 +### 返回
  72 +
  73 +``` json
  74 +请求样例: 新增
  75 +{
  76 + "productSkn":50000055
  77 +}
  78 +返回
  79 +{
  80 + "code": 200,
  81 + "data": {
  82 + "tryInfoBoMap": {
  83 + "19": {
  84 + "feel_id": 1,
  85 + "fit_remark": "二位",
  86 + "fit_size": "F",
  87 + "model_id": 19
  88 + },
  89 + "21": {
  90 + "feel_id": 3,
  91 + "fit_remark": "无色",
  92 + "fit_size": "F",
  93 + "model_id": 21
  94 + },
  95 + "25": {
  96 + "feel_id": 2,
  97 + "fit_remark": "二位v",
  98 + "fit_size": "F",
  99 + "model_id": 25
  100 + }
  101 + },
  102 + "tryModelList": [
  103 + {
  104 + "avatar": "http://img12.static.yhbimg.com\modelCard/2015/08/11/07/0220d27e95d08daf3f4cb8f91fbf6c1379.png",
  105 + "dressSize": "",
  106 + "englishName": "",
  107 + "height": 163,
  108 + "id": 19,
  109 + "modelName": "Cherry Lee",
  110 + "modelType": 2,
  111 + "nationality": "",
  112 + "shoeSize": "",
  113 + "status": 1,
  114 + "vitalStatistics": "77/67/86",
  115 + "weight": 42
  116 + },
  117 + {
  118 + "avatar": "http://img10.static.yhbimg.com\modelCard/2015/07/23/04/01defebb15086c6a757ded83d7567f3d3d.jpg",
  119 + "dressSize": "",
  120 + "englishName": "",
  121 + "height": 182,
  122 + "id": 27,
  123 + "modelName": "Jeff",
  124 + "modelType": 2,
  125 + "nationality": "",
  126 + "shoeSize": "",
  127 + "status": 1,
  128 + "vitalStatistics": "87,80,97",
  129 + "weight": 70
  130 + },
  131 + {
  132 + "avatar": "http://img11.static.yhbimg.com\modelCard/2015/09/07/03/01329cb56fdf4ee424b2969978a34a96ad.png",
  133 + "dressSize": "",
  134 + "englishName": "",
  135 + "height": 166,
  136 + "id": 29,
  137 + "modelName": "Yio",
  138 + "modelType": 2,
  139 + "nationality": "",
  140 + "shoeSize": "",
  141 + "status": 1,
  142 + "vitalStatistics": "80,66,90",
  143 + "weight": 52
  144 + }
  145 + ]
  146 + },
  147 + "md5": "fd9eebc2e9af663d65c8a8b4d4336ce8",
  148 + "message": "模特试穿信息"
  149 +}
  150 +```
  151 +
  152 +## 新增产品图片
  153 +
  154 +> 接口名:`productPhoto/addProductPhoto`
  155 +
  156 +### 入参
  157 +
  158 +-------------------------
  159 +|属性名称|类型|例子|说明|
  160 +|--------|----|----|----|
  161 +|productSkn|int|234234|产品skn |
  162 +|productSkc|int|23423| 产品skc|
  163 +|productSku|int|234234| 产品sku|
  164 +|productPhotoAddBoList|array|[{"originalName":"22222222222","fileName":"234234234234"}]| 图片列表|
  165 +---------------------
  166 +### 返回
  167 +
  168 +``` json
  169 +请求样例: 新增
  170 +{
  171 + "productSkc": 331746,
  172 + "productSkn": 51194411,
  173 + "productSku": 1035027,
  174 + "productPhotoAddBoList": [
  175 + {
  176 + "fileName": "http://img11.static.yhbimg.com/goodsimg/2016/01/14/09/01a6fee1ded790b36f7645c6fc02f0da6f.jpg",
  177 + "originalName": "1035027.jpg"
  178 + }
  179 + ]
  180 +}
  181 +返回
  182 +{
  183 + "code": 200,
  184 + "data": [],
  185 + "md5": "d751713988987e9331980363e24189ce",
  186 + "message": "新增产品信息成功"
  187 +}
  188 +```
  189 +
  190 +