...
|
...
|
@@ -123,45 +123,3 @@ http://127.0.0.1:8088/platform/SellerProductController/querySellerProductImg?pro |
|
|
}
|
|
|
|
|
|
``` |
|
|
|
|
|
|
|
|
## 3、更新商品图片##
|
|
|
|
|
|
更新商品图片(/SellerProductController/updateSellerProductImg)
|
|
|
|
|
|
#### 请求参数【与网销信息一致】
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|----:|
|
|
|
|goodsImagesReqStr|string|否|图片信息||
|
|
|
|productSkn|int|否|sln||
|
|
|
|
|
|
注意,通用的头部没有列出。
|
|
|
|
|
|
请求示例
|
|
|
http://127.0.0.1:8088/platform/SellerProductController/updateSellerProductImg?goodsImagesReqStr={"goodsImagesBoList":"[{\"angle\":0,\"genderCover\":0,\"id\":1002976,\"imageUrl\":\"http://img13.static.yhbimg.com/goodsimg/2017/04/18/11/02c52592f14a13be1014aa8c116b5d4e1c.jpg\",\"isDefault\":\"Y\",\"orderBy\":0,\"productSkc\":680416,\"productSkn\":512587896,\"status\":1},{\"angle\":0,\"genderCover\":0,\"id\":1002978,\"imageUrl\":\"http://img12.static.yhbimg.com/goodsimg/2017/04/18/11/028adf5dd962895c11feb2fec8ef0c5b32.jpg\",\"isDefault\":\"Y\",\"orderBy\":0,\"productSkc\":680418,\"productSkn\":512587896,\"status\":1}]","productSkc":680416,"productSkn":512587896}&productSkn=512587896
|
|
|
## 请求样例数据
|
|
|
``` json
|
|
|
正常返回:
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "更新图片信息成功."
|
|
|
}
|
|
|
异常返回:
|
|
|
|
|
|
{
|
|
|
"code": 400,
|
|
|
"data": [],
|
|
|
"md5": "d751713988987e9331980363e24189ce",
|
|
|
"message": "SKN错误"
|
|
|
}
|
|
|
|
|
|
{
|
|
|
"code": 500,
|
|
|
"data": [],
|
|
|
"md5": "8b233b3ba501d3563be331aa58d0fe0d",
|
|
|
"message": "更新图片信息失败:错误信息."
|
|
|
}
|
|
|
|
|
|
``` |
...
|
...
|
|