Showing
1 changed file
with
114 additions
and
22 deletions
1 | ## 1、用户选择/修改活动商品的sku信息 ## | 1 | ## 1、用户选择/修改活动商品的sku信息 ## |
2 | 2 | ||
3 | -用户选择/修改活动商品的sku信息(?method=app.drawline.userChoiceSku) | 3 | +用户选择/修改活动商品的sku信息(?method=app.limitProduct.userChoiceSku) |
4 | #### 请求参数 | 4 | #### 请求参数 |
5 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | 5 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | |
6 | |:-------| -----:|-----:|-----:|-----:|----:| | 6 | |:-------| -----:|-----:|-----:|-----:|----:| |
@@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
13 | 13 | ||
14 | 注意,通用的头部没有列出。 | 14 | 注意,通用的头部没有列出。 |
15 | 请求示例 | 15 | 请求示例 |
16 | -http://192.168.102.205:8080/activity?method=app.drawline.userChoiceSku&uid=12342&productSkn=56665&productSku=222&colorName=蓝色&sizeName=L&productSkc=15556 | 16 | +http://192.168.102.205:8080/gateway?method=app.limitProduct.userChoiceSku&uid=12342&productSkn=56665&productSku=222&colorName=蓝色&sizeName=L&productSkc=15556 |
17 | 17 | ||
18 | ### 响应 | 18 | ### 响应 |
19 | code为200即为成功,否则是失败。 | 19 | code为200即为成功,否则是失败。 |
@@ -75,7 +75,7 @@ code为200即为成功,否则是失败。 | @@ -75,7 +75,7 @@ code为200即为成功,否则是失败。 | ||
75 | ``` | 75 | ``` |
76 | 76 | ||
77 | ## 3、根据skn获取平台配置的sku的商品详细信息 ## | 77 | ## 3、根据skn获取平台配置的sku的商品详细信息 ## |
78 | -根据skn获取平台配置的sku的商品详细信息(?method=app.drawline.getGoodListBySkus) | 78 | +根据skn获取平台配置的sku的商品详细信息(?method=app.limitProduct.getGoodListBySkus) |
79 | #### 请求参数 | 79 | #### 请求参数 |
80 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | 80 | | 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | |
81 | |:-------| -----:|-----:|-----:|-----:|----:| | 81 | |:-------| -----:|-----:|-----:|-----:|----:| |
@@ -83,7 +83,7 @@ code为200即为成功,否则是失败。 | @@ -83,7 +83,7 @@ code为200即为成功,否则是失败。 | ||
83 | 83 | ||
84 | 注意,通用的头部没有列出。 | 84 | 注意,通用的头部没有列出。 |
85 | 请求示例 | 85 | 请求示例 |
86 | -http://192.168.102.205:8080/activity?method=app.drawline.getGoodListBySkus&skn=12342 | 86 | +http://192.168.102.205:8080/activity?method=app.limitProduct.getGoodListBySkus&skn=12342 |
87 | 87 | ||
88 | ### 响应 | 88 | ### 响应 |
89 | code为200即为成功,否则是失败。 | 89 | code为200即为成功,否则是失败。 |
@@ -95,26 +95,118 @@ code为200即为成功,否则是失败。 | @@ -95,26 +95,118 @@ code为200即为成功,否则是失败。 | ||
95 | "message": "操作成功", | 95 | "message": "操作成功", |
96 | "md5": "9db2bfc15fdd507d2f5845c8bc74d337", | 96 | "md5": "9db2bfc15fdd507d2f5845c8bc74d337", |
97 | "alg": "SALT_MD5", | 97 | "alg": "SALT_MD5", |
98 | - "data": [ | 98 | + "data": { |
99 | + "formatMarketPrice": "¥275.00", | ||
100 | + "formatSalesPrice": "¥275.00", | ||
101 | + "goodsList": [ | ||
102 | + { | ||
103 | + "colorId": 2, | ||
104 | + "colorImage": "http://img13.static.yhbimg.com/goodsimg/2012/03/02/17/0242814e14d8ac1525c92de0a84d0f70eb.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
105 | + "colorName": "黑", | ||
106 | + "factorySn": "", | ||
107 | + "firstShelveTime": 1310648698, | ||
108 | + "goodsImagesList": [], | ||
109 | + "goodsName": "OVK 08 CUTE SKULL TEE", | ||
110 | + "goodsSizeBoList": [ | ||
99 | { | 111 | { |
100 | - "color_id": 7, | ||
101 | - "color_name": "蓝色", | ||
102 | - "goods_id": 460439, | ||
103 | - "product_skc": 338873, | ||
104 | - "size_list": [ | ||
105 | - { | ||
106 | - "product_sku": 1056205, | ||
107 | - "size_id": 203, | ||
108 | - "size_name": "M" | ||
109 | - }, | ||
110 | - { | ||
111 | - "product_sku": 1056205, | ||
112 | - "size_id": 203, | ||
113 | - "size_name": "M" | ||
114 | - } | ||
115 | - ] | 112 | + "attributeId": "", |
113 | + "createTime": 0, | ||
114 | + "goodsId": null, | ||
115 | + "goodsSizeSkuId": 102050, | ||
116 | + "goodsSizeStorageNum": null, | ||
117 | + "id": 201, | ||
118 | + "orderBy": 1169, | ||
119 | + "sizeName": "L", | ||
120 | + "sortId": 0, | ||
121 | + "updateTime": 0 | ||
122 | + }, | ||
123 | + { | ||
124 | + "attributeId": "", | ||
125 | + "createTime": 0, | ||
126 | + "goodsId": null, | ||
127 | + "goodsSizeSkuId": 102034, | ||
128 | + "goodsSizeStorageNum": null, | ||
129 | + "id": 211, | ||
130 | + "orderBy": 1163, | ||
131 | + "sizeName": "XL", | ||
132 | + "sortId": 0, | ||
133 | + "updateTime": 0 | ||
134 | + } | ||
135 | + ], | ||
136 | + "id": 14, | ||
137 | + "isDefault": "N", | ||
138 | + "isDown": "N", | ||
139 | + "matchExplain": "", | ||
140 | + "productId": 13, | ||
141 | + "productSkc": 14, | ||
142 | + "status": 1, | ||
143 | + "viewNum": 0 | ||
144 | + }, | ||
145 | + { | ||
146 | + "colorId": 3, | ||
147 | + "colorImage": "http://img11.static.yhbimg.com/goodsimg/2012/03/02/15/01562d80dbd0f5acc9e8b96668836006ff.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/80", | ||
148 | + "colorName": "灰", | ||
149 | + "factorySn": "", | ||
150 | + "firstShelveTime": 1310648698, | ||
151 | + "goodsImagesList": [], | ||
152 | + "goodsName": "OVK 08 CUTE SKULL TEE", | ||
153 | + "goodsSizeBoList": [ | ||
154 | + { | ||
155 | + "attributeId": "", | ||
156 | + "createTime": 0, | ||
157 | + "goodsId": null, | ||
158 | + "goodsSizeSkuId": 102037, | ||
159 | + "goodsSizeStorageNum": null, | ||
160 | + "id": 203, | ||
161 | + "orderBy": 1175, | ||
162 | + "sizeName": "M", | ||
163 | + "sortId": 0, | ||
164 | + "updateTime": 0 | ||
165 | + }, | ||
166 | + { | ||
167 | + "attributeId": "", | ||
168 | + "createTime": 0, | ||
169 | + "goodsId": null, | ||
170 | + "goodsSizeSkuId": 102050, | ||
171 | + "goodsSizeStorageNum": null, | ||
172 | + "id": 201, | ||
173 | + "orderBy": 1169, | ||
174 | + "sizeName": "L", | ||
175 | + "sortId": 0, | ||
176 | + "updateTime": 0 | ||
177 | + }, | ||
178 | + { | ||
179 | + "attributeId": "", | ||
180 | + "createTime": 0, | ||
181 | + "goodsId": null, | ||
182 | + "goodsSizeSkuId": 102034, | ||
183 | + "goodsSizeStorageNum": null, | ||
184 | + "id": 211, | ||
185 | + "orderBy": 1163, | ||
186 | + "sizeName": "XL", | ||
187 | + "sortId": 0, | ||
188 | + "updateTime": 0 | ||
116 | } | 189 | } |
117 | - ] | 190 | + ], |
191 | + "id": 15, | ||
192 | + "isDefault": "Y", | ||
193 | + "isDown": "N", | ||
194 | + "matchExplain": "", | ||
195 | + "productId": 13, | ||
196 | + "productSkc": 15, | ||
197 | + "status": 1, | ||
198 | + "viewNum": 0 | ||
199 | + } | ||
200 | + ], | ||
201 | + "marketPrice": "", | ||
202 | + "phrase": "OVERKILL OVK 08 CUTE SKULL 短袖TEE.正面胸口的图案和背后相互呼应,清新活力。超炫的骷髅图案,带来不一样的靓点 ", | ||
203 | + "productId": "50001796", | ||
204 | + "productName": "OVERKILL OVK 08 CUTE SKULL 短袖TEE", | ||
205 | + "productSkn": "50001796", | ||
206 | + "productUrl": "", | ||
207 | + "salesPhrase": "275", | ||
208 | + "salesPrice": "275" | ||
209 | +} | ||
118 | } | 210 | } |
119 | ``` | 211 | ``` |
120 | 212 |
-
Please register or login to post a comment