Showing
2 changed files
with
43 additions
and
0 deletions
商家端/修改商品接口.md
0 → 100644
商家端/新增商品第三个页面的扩展信息接口.md
0 → 100644
1 | +## 9、更新商品扩展信息## | ||
2 | + | ||
3 | +更新商品扩展信息(/SellerProductController/updateSellerProductNetSaleInfo) | ||
4 | + | ||
5 | +#### 请求参数【与网销信息一致】 | ||
6 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | ||
7 | +|:-------| -----:|-----:|-----:|----:| | ||
8 | +|goodsImagesReqStr|string|否|图片信息|| | ||
9 | +|productSkn|int|否|sln|| | ||
10 | + | ||
11 | + | ||
12 | +注意,通用的头部没有列出。 | ||
13 | + | ||
14 | +请求示例 | ||
15 | +http://127.0.0.1:8088/platform/SellerProductController/updateSellerProductNetSaleInfo | ||
16 | + | ||
17 | +?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&sknDefaultImg=http://img12.static.yhbimg.com/goodsimg/2017/04/19/10/0261ce267c95a8ac1c55428cd1825876e7.jpg | ||
18 | +## 请求样例数据 | ||
19 | +``` json | ||
20 | +正常返回: | ||
21 | +{ | ||
22 | + "code": 200, | ||
23 | + "data": [], | ||
24 | + "md5": "d751713988987e9331980363e24189ce", | ||
25 | + "message": "更新图片信息成功." | ||
26 | +} | ||
27 | +异常返回: | ||
28 | + | ||
29 | +{ | ||
30 | + "code": 400, | ||
31 | + "data": [], | ||
32 | + "md5": "d751713988987e9331980363e24189ce", | ||
33 | + "message": "SKN错误" | ||
34 | +} | ||
35 | + | ||
36 | +{ | ||
37 | + "code": 500, | ||
38 | + "data": [], | ||
39 | + "md5": "8b233b3ba501d3563be331aa58d0fe0d", | ||
40 | + "message": "更新图片信息失败:错误信息." | ||
41 | +} | ||
42 | + | ||
43 | +``` |
-
Please register or login to post a comment