Showing
1 changed file
with
125 additions
and
0 deletions
商家端/经营模式列表.md
0 → 100644
1 | +## 1、查询所有开启的颜色列表## | ||
2 | + | ||
3 | +查询所有开启的颜色列表(/SellerProductController/querySellerProductColors) | ||
4 | + | ||
5 | +#### 请求参数 | ||
6 | +无 | ||
7 | + | ||
8 | +注意,通用的头部没有列出。 | ||
9 | + | ||
10 | +请求示例 | ||
11 | +http://127.0.0.1:8088/platform/SellerProductController/querySellerProductColors | ||
12 | +## 请求样例数据 | ||
13 | +``` json | ||
14 | +正常返回: | ||
15 | +{ | ||
16 | + "code": 200, | ||
17 | + "data": [{ | ||
18 | + "colorCode": "68EE68", | ||
19 | + "colorName": "黑色", | ||
20 | + "colorValue": "", | ||
21 | + "createTime": 0, | ||
22 | + "id": 2, | ||
23 | + "updateTime": 0 | ||
24 | + }, | ||
25 | + { | ||
26 | + "colorCode": "68EE68", | ||
27 | + "colorName": "绿色", | ||
28 | + "colorValue": "http://img11.static.yhbimg.com/color/2016/03/02/17/01969293b2c86c1064e8301f647368bed9.png", | ||
29 | + "createTime": 0, | ||
30 | + "id": 1, | ||
31 | + "updateTime": 0 | ||
32 | + } | ||
33 | + ], | ||
34 | + "md5": "4653921cf0b342fb364c96976cdbf7a4", | ||
35 | + "message": "查询颜色列表成功." | ||
36 | +} | ||
37 | + | ||
38 | +异常返回: | ||
39 | + | ||
40 | +{ | ||
41 | + "code": 500, | ||
42 | + "data": [], | ||
43 | + "md5": "8b233b3ba501d3563be331aa58d0fe0d", | ||
44 | + "message": "查询颜色列表错误:错误信息." | ||
45 | +} | ||
46 | + | ||
47 | +``` | ||
48 | + | ||
49 | +## 2、查询商品图片## | ||
50 | + | ||
51 | +查询商品图片(/SellerProductController/querySellerProductImg) | ||
52 | + | ||
53 | +#### 请求参数 | ||
54 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 备注 | | ||
55 | +|:-------| -----:|-----:|-----:|----:| | ||
56 | +|productSkn|int|否|productSkn|| | ||
57 | + | ||
58 | +注意,通用的头部没有列出。 | ||
59 | + | ||
60 | +请求示例 | ||
61 | +http://127.0.0.1:8088/platform/SellerProductController/querySellerProductImg?productSkn=512587800 | ||
62 | +## 请求样例数据 | ||
63 | +``` json | ||
64 | +正常返回: | ||
65 | +{ | ||
66 | + "code": 200, | ||
67 | + "data": [ | ||
68 | + { | ||
69 | + "colorId": 11, | ||
70 | + "createTime": 1491984544, | ||
71 | + "factoryCode": "ASD005", | ||
72 | + "factoryGoodsName": "红色", | ||
73 | + "goodsColorImage": "/2017/04/12/16/01a5e0e7e3d9a1cdc0542df59d7f8be489.jpg", | ||
74 | + "goodsImagesList": [ | ||
75 | + { | ||
76 | + "angle": 0, | ||
77 | + "genderCover": 0, | ||
78 | + "id": 1002900, | ||
79 | + "imageUrl": "http://img10.static.yhbimg.com/goodsimg/2017/04/12/16/01a5e0e7e3d9a1cdc0542df59d7f8be489.jpg", | ||
80 | + "isDefault": "Y", | ||
81 | + "orderBy": 0, | ||
82 | + "productSkc": 680280, | ||
83 | + "productSkn": 512587800, | ||
84 | + "status": 1 | ||
85 | + }, | ||
86 | + { | ||
87 | + "angle": 0, | ||
88 | + "genderCover": 1, | ||
89 | + "id": 1002902, | ||
90 | + "imageUrl": "http://img11.static.yhbimg.com/goodsimg/2017/04/14/10/01230bd0b1607b5cfee0d91d33ec11cb9d.jpg", | ||
91 | + "isDefault": "N", | ||
92 | + "orderBy": 1, | ||
93 | + "productSkc": 680280, | ||
94 | + "productSkn": 512587800, | ||
95 | + "status": 1 | ||
96 | + } | ||
97 | + ], | ||
98 | + "goodsName": "红色", | ||
99 | + "isDefault": "Y", | ||
100 | + "productSkc": 680280, | ||
101 | + "productSkn": 512587800, | ||
102 | + "updateTime": 1491984544 | ||
103 | + } | ||
104 | + ], | ||
105 | + "md5": "142f4d004247f904751020d5b348f9e3", | ||
106 | + "message": "查询图片信息成功." | ||
107 | +} | ||
108 | + | ||
109 | +异常返回: | ||
110 | + | ||
111 | +{ | ||
112 | + "code": 400, | ||
113 | + "data": [], | ||
114 | + "md5": "d751713988987e9331980363e24189ce", | ||
115 | + "message": "店铺id错误" | ||
116 | +} | ||
117 | + | ||
118 | +{ | ||
119 | + "code": 500, | ||
120 | + "data": [], | ||
121 | + "md5": "8b233b3ba501d3563be331aa58d0fe0d", | ||
122 | + "message": "查询图片信息失败:错误信息." | ||
123 | +} | ||
124 | + | ||
125 | +``` |
-
Please register or login to post a comment