product_extra_info.md 3.92 KB

产品试穿信息管理


查询产品图片列表信息

接口名:productExtraInfo/queryProdExtraList

入参


属性名称 类型 例子 说明
productSkn int 234234 产品skn
productName string 阿迪 产品名称
productSku int 234234 产品sku


返回

请求样例:
{
    "productSkn":"50000055"
}
正常返回:
{
  "code": 200,
  "data": {
    "list": [
      {
        "brandId": 175,
        "brandName": "团一",
        "defaultImg": "http://img13.static.yhbimg.com/goodsimg/2011/06/24/13/02e571a64cea3ea8e734f8f0aae790fb4d.jpg",
        "productId": 5675,
        "productName": "团一复古花纹满本图案牛皮纸笔记本",
        "productSkn": 50000055
      }
    ],
    "page": 1,
    "size": 10,
    "total": 1,
    "totalPage": 1
  },
  "md5": "9b566aa98b1973d71026605411ea62d4",
  "message": "拍摄产品信息列表"
}
异常返回:
{
  "code": 405,
  "data": [],
  "md5": "d751713988987e9331980363e24189ce",
  "message": ""
}

查询试穿产品附信息(试穿信息,是否测量信息)

接口名:productExtraInfo/queryProdExtraInfo

入参


属性名称 类型 例子 说明
productSkn int 526456456 产品skn 必传

返回

请求样例: 新增
{
    "productSkn":50000055
}
返回
{
  "code": 200,
  "data": {
    "tryInfoBoMap": {
      "19": {
        "feel_id": 1,
        "fit_remark": "二位",
        "fit_size": "F",
        "model_id": 19
      },
      "21": {
        "feel_id": 3,
        "fit_remark": "无色",
        "fit_size": "F",
        "model_id": 21
      },
      "25": {
        "feel_id": 2,
        "fit_remark": "二位v",
        "fit_size": "F",
        "model_id": 25
      }
    },
    "tryModelList": [
      {
        "avatar": "http://img12.static.yhbimg.com\modelCard/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": "http://img10.static.yhbimg.com\modelCard/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": "http://img11.static.yhbimg.com\modelCard/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
      }
    ]
  },
  "md5": "fd9eebc2e9af663d65c8a8b4d4336ce8",
  "message": "模特试穿信息"
}

新增修改模特试穿信息

接口名:/productExtraInfo/saveProdExtraInfo

入参


属性名称 类型 例子 说明
productSkn int 234234 产品skn
productModelTry array "19": { "feel_id": 1,"fit_remark": "sdfsf", "fit_size": "F","model_id": 19} 模特试穿信息

返回

请求样例: 新增
{
    "productSkn":"50000055",
     "productModelTry": {
      "19": {
        "feel_id": 1,
        "fit_remark": "sdfsf",
        "fit_size": "F",
        "model_id": 19
      }
   }
}
返回
{
  "code": 200,
  "data": [],
  "md5": "d751713988987e9331980363e24189ce",
  "message": "新增产品信息成功"
}