Showing
1 changed file
with
274 additions
and
0 deletions
商品列表/h5_product_intro.md
0 → 100644
1 | +## 1、wap查询商品详情页,下半页展示## | ||
2 | + | ||
3 | +(method=h5.product.intro) | ||
4 | +#### 请求参数 | ||
5 | +| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | | ||
6 | +|:-------| -----:|-----:|-----:|-----:|----:| | ||
7 | +|productskn|int|否|51147957|无|商品skn| | ||
8 | + | ||
9 | +注意,通用的头部没有列出。 | ||
10 | +请求示例 | ||
11 | +http://devapi.yoho.cn:58078/?client_type=iphone&method=h5.product.intro&productskn=51147957&v=7&debug=XYZ | ||
12 | + | ||
13 | +### 响应 | ||
14 | +code为200即为成功,否则是失败。 | ||
15 | +响应JSON格式如下所示: | ||
16 | +```json | ||
17 | +{ | ||
18 | + "modelBos": [], | ||
19 | + "productBo": { | ||
20 | + "arrivalTime": 0, | ||
21 | + "attribute": 1, | ||
22 | + "auditingTime": 0, | ||
23 | + "brandId": 841, | ||
24 | + "categoryBoList": [], | ||
25 | + "cnAlphabet": "ITSTONGChaoTongNanTongNvTongTXuJunLvT00202", | ||
26 | + "createTime": 1442375185, | ||
27 | + "editTime": 1443179244, | ||
28 | + "elements": "", | ||
29 | + "erpProductId": 51147957, | ||
30 | + "firstShelveTime": 1443179244, | ||
31 | + "folderId": 0, | ||
32 | + "gender": "3", | ||
33 | + "goodsList": [], | ||
34 | + "id": 265101, | ||
35 | + "isAdvance": "N", | ||
36 | + "isAuditing": "Y", | ||
37 | + "isCollect": "", | ||
38 | + "isDown": "N", | ||
39 | + "isEdit": 1, | ||
40 | + "isHot": "N", | ||
41 | + "isJit": "N", | ||
42 | + "isLimitBuy": "N", | ||
43 | + "isLimited": "N", | ||
44 | + "isNew": "N", | ||
45 | + "isOutlets": "N", | ||
46 | + "isPayDelivery": "2", | ||
47 | + "isPromotion": 0, | ||
48 | + "isRecommend": "N", | ||
49 | + "isReplenishment": 0, | ||
50 | + "isRetrieval": "N", | ||
51 | + "isSales": "Y", | ||
52 | + "isSpecial": "N", | ||
53 | + "limitProductCode": "", | ||
54 | + "limitProductSku": "", | ||
55 | + "material": "", | ||
56 | + "maxSortId": 365, | ||
57 | + "middleSortId": 366, | ||
58 | + "pattern": "", | ||
59 | + "phrase": "舒适面料,搭配简单的版型,清丽的颜色,不容错过。", | ||
60 | + "productName": "it's tong 军绿童装T恤", | ||
61 | + "productTagBoList": [], | ||
62 | + "productUrl": "", | ||
63 | + "promotionBoList": [], | ||
64 | + "salableTime": "0", | ||
65 | + "saleStatus": 0, | ||
66 | + "salesPhrase": "", | ||
67 | + "seasons": "summer,autumn", | ||
68 | + "sellChannels": "0", | ||
69 | + "seriesId": 0, | ||
70 | + "shelveTime": 1443179244, | ||
71 | + "shopId": 0, | ||
72 | + "showStatus": 0, | ||
73 | + "showWeightAndHeight": false, | ||
74 | + "smallSortId": 373, | ||
75 | + "sortId": 0, | ||
76 | + "status": 1, | ||
77 | + "storage": 24, | ||
78 | + "style": "", | ||
79 | + "supplierId": 0, | ||
80 | + "vipDiscountType": 1 | ||
81 | + }, | ||
82 | + "productDescBo": { | ||
83 | + "colorName": "绿色", | ||
84 | + "erpProductId": "51147957", | ||
85 | + "gender": 3, | ||
86 | + "phrase": "舒适面料,搭配简单的版型,清丽的颜色,不容错过。", | ||
87 | + "standardBos": [ | ||
88 | + { | ||
89 | + "standardName": "经典款型", | ||
90 | + "standardVal": "纯色T恤" | ||
91 | + }, | ||
92 | + { | ||
93 | + "standardName": "袖长", | ||
94 | + "standardVal": "短袖" | ||
95 | + }, | ||
96 | + { | ||
97 | + "standardName": "领型", | ||
98 | + "standardVal": "圆领" | ||
99 | + } | ||
100 | + ] | ||
101 | + }, | ||
102 | + "productExtra": { | ||
103 | + "boyReference": 0, | ||
104 | + "fitModel": "[]", | ||
105 | + "girlReference": 0, | ||
106 | + "id": 69415, | ||
107 | + "productAttributeInfo": "{\"no_measure\":[\"1\"]}", | ||
108 | + "productSkn": 51147957 | ||
109 | + }, | ||
110 | + "productIntroBo": { | ||
111 | + "productId": 265101, | ||
112 | + "productIntro": "<p>\r\n\t<img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/01b6ad7d330350dd60efb05a8b8a7a655b.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/012edd19f61e796962e9d00d094ab6bada.jpg\" /></p>\r\n<p>\r\n\t<img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/01c4fec7328c07536ee5ed7c17fe92ad0d.jpg\" /><img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/0172a39aee9219e4f909ec1174c9ee1572.jpg\" /><img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/01bedc76884739c9b80aacd269d828b822.jpg\" /><img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/0171153881c407d68ee84f9aecf5496220.jpg\" /><img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/01d87fde1bad7e890b99c28c715a0a86ec.jpg\" /><img border=\"0\" src=\"http://img01.static.yohobuy.com/product/2015/09/25/17/01442f6765d1f4d4bf2500431076ca1f38.jpg\" /></p>" | ||
113 | + }, | ||
114 | + "productMaterialList": [], | ||
115 | + "sizeImage": "", | ||
116 | + "sizeInfoBo": { | ||
117 | + "sizeAttributeBos": [ | ||
118 | + { | ||
119 | + "attributeName": "后衣长", | ||
120 | + "id": 49 | ||
121 | + }, | ||
122 | + { | ||
123 | + "attributeName": "前衣长", | ||
124 | + "id": 48 | ||
125 | + }, | ||
126 | + { | ||
127 | + "attributeName": "袖长", | ||
128 | + "id": 5 | ||
129 | + }, | ||
130 | + { | ||
131 | + "attributeName": "胸围", | ||
132 | + "id": 4 | ||
133 | + }, | ||
134 | + { | ||
135 | + "attributeName": "肩宽", | ||
136 | + "id": 3 | ||
137 | + } | ||
138 | + ], | ||
139 | + "sizeBoList": [ | ||
140 | + { | ||
141 | + "id": 361, | ||
142 | + "sizeName": "73", | ||
143 | + "sortAttributes": [ | ||
144 | + { | ||
145 | + "id": 49, | ||
146 | + "sizeValue": "31" | ||
147 | + }, | ||
148 | + { | ||
149 | + "id": 48, | ||
150 | + "sizeValue": "31" | ||
151 | + }, | ||
152 | + { | ||
153 | + "id": 5, | ||
154 | + "sizeValue": "7" | ||
155 | + }, | ||
156 | + { | ||
157 | + "id": 4, | ||
158 | + "sizeValue": "52" | ||
159 | + }, | ||
160 | + { | ||
161 | + "id": 3, | ||
162 | + "sizeValue": "23" | ||
163 | + } | ||
164 | + ] | ||
165 | + }, | ||
166 | + { | ||
167 | + "id": 234, | ||
168 | + "sizeName": "80", | ||
169 | + "sortAttributes": [ | ||
170 | + { | ||
171 | + "id": 49, | ||
172 | + "sizeValue": "33" | ||
173 | + }, | ||
174 | + { | ||
175 | + "id": 48, | ||
176 | + "sizeValue": "33" | ||
177 | + }, | ||
178 | + { | ||
179 | + "id": 5, | ||
180 | + "sizeValue": "8" | ||
181 | + }, | ||
182 | + { | ||
183 | + "id": 4, | ||
184 | + "sizeValue": "54" | ||
185 | + }, | ||
186 | + { | ||
187 | + "id": 3, | ||
188 | + "sizeValue": "24" | ||
189 | + } | ||
190 | + ] | ||
191 | + }, | ||
192 | + { | ||
193 | + "id": 177, | ||
194 | + "sizeName": "85", | ||
195 | + "sortAttributes": [ | ||
196 | + { | ||
197 | + "id": 49, | ||
198 | + "sizeValue": "35" | ||
199 | + }, | ||
200 | + { | ||
201 | + "id": 48, | ||
202 | + "sizeValue": "35" | ||
203 | + }, | ||
204 | + { | ||
205 | + "id": 5, | ||
206 | + "sizeValue": "9" | ||
207 | + }, | ||
208 | + { | ||
209 | + "id": 4, | ||
210 | + "sizeValue": "57" | ||
211 | + }, | ||
212 | + { | ||
213 | + "id": 3, | ||
214 | + "sizeValue": "25" | ||
215 | + } | ||
216 | + ] | ||
217 | + }, | ||
218 | + { | ||
219 | + "id": 187, | ||
220 | + "sizeName": "95", | ||
221 | + "sortAttributes": [ | ||
222 | + { | ||
223 | + "id": 49, | ||
224 | + "sizeValue": "37" | ||
225 | + }, | ||
226 | + { | ||
227 | + "id": 48, | ||
228 | + "sizeValue": "37" | ||
229 | + }, | ||
230 | + { | ||
231 | + "id": 5, | ||
232 | + "sizeValue": "9" | ||
233 | + }, | ||
234 | + { | ||
235 | + "id": 4, | ||
236 | + "sizeValue": "60" | ||
237 | + }, | ||
238 | + { | ||
239 | + "id": 3, | ||
240 | + "sizeValue": "26" | ||
241 | + } | ||
242 | + ] | ||
243 | + }, | ||
244 | + { | ||
245 | + "id": 5, | ||
246 | + "sizeName": "105", | ||
247 | + "sortAttributes": [ | ||
248 | + { | ||
249 | + "id": 49, | ||
250 | + "sizeValue": "39" | ||
251 | + }, | ||
252 | + { | ||
253 | + "id": 48, | ||
254 | + "sizeValue": "39" | ||
255 | + }, | ||
256 | + { | ||
257 | + "id": 5, | ||
258 | + "sizeValue": "10" | ||
259 | + }, | ||
260 | + { | ||
261 | + "id": 4, | ||
262 | + "sizeValue": "62" | ||
263 | + }, | ||
264 | + { | ||
265 | + "id": 3, | ||
266 | + "sizeValue": "27" | ||
267 | + } | ||
268 | + ] | ||
269 | + } | ||
270 | + ] | ||
271 | + }, | ||
272 | + "washTipsBoList": [] | ||
273 | +} | ||
274 | +``` |
-
Please register or login to post a comment