商品封面.md
1.71 KB
2、查询商品图片
查询商品图片(/sellerProductPhoto/queryProductPhotoList)
请求参数
参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
---|---|---|---|---|
productSkn | int | 否 | productSkn | |
shopId | int | 否 | 店铺Id |
注意,通用的头部没有列出。
请求示例 http://127.0.0.1:8088/platform/sellerProductPhoto/queryProductPhotoList
请求样例数据 (post请求)
{"productSkn":51078948, "shopId":492}
正常返回:
{
"code": 200,
"data": {
"list": [
{
"fileName": "http://img11.static.yhbimg.com/goodsimg/2017/06/22/19/0190c70a160dc8a09e34ca359c06ecbdd7.jpg", // 封面的绝对路径
"fileSuffix": "jpg",
"founder": 100750,
"id": 227930,
"isUsable": 1,
"originalName": "630987.jpg",
"productSkc": 190987,
"productSkn": 51078948,
"productSku": 630987,
"uploadTime": 1498130752
},
{
"fileName": "http://img12.static.yhbimg.com/goodsimg/2017/06/22/19/02849ed461d158765667af8c44efdf1c1a.jpg",
"fileSuffix": "jpg",
"founder": 100750,
"id": 227932,
"isUsable": 1,
"originalName": "630987.jpg",
"productSkc": 190987,
"productSkn": 51078948,
"productSku": 630987,
"uploadTime": 1498130885
}
],
"page": 1,
"size": 100,
"total": 2,
"totalPage": 1
},
"md5": "58e207f628bf9442cd57b5deff289c04",
"message": "产品图片列表"
}