Showing
1 changed file
with
47 additions
and
1 deletions
@@ -277,4 +277,50 @@ | @@ -277,4 +277,50 @@ | ||
277 | } | 277 | } |
278 | } | 278 | } |
279 | 279 | ||
280 | -``` | ||
280 | +``` | ||
281 | + | ||
282 | +# 获取产品参数列表(区分基础商品,网销) | ||
283 | + | ||
284 | +> 接口名: `/product/queryAllProductAttr` | ||
285 | + | ||
286 | +------------------------- | ||
287 | +|属性名称|类型|例子|说明|是否必填| | ||
288 | +|--------|----|----|----|--------| | ||
289 | +| categoryId| 数字类型,整形| 1|分类ID | 是| | ||
290 | +| displayPosition| 数字类型,整形| 1| 1:基础商品-非销售属性 2:网销信息-上架后补全信息 3:网销信息-商品参数| 是| | ||
291 | +--------------------- | ||
292 | + | ||
293 | +### 返回 | ||
294 | + | ||
295 | +``` json | ||
296 | +{ | ||
297 | + code:200, | ||
298 | + message:"", | ||
299 | + data: { | ||
300 | + list: [{ | ||
301 | + "attributeId": 22, | ||
302 | + "attributeName": "材质", | ||
303 | + "attributeType": 2, | ||
304 | + "attributeValues": "反光,毛呢,网布,皮革,麻,帆布", | ||
305 | + "belong": 1, | ||
306 | + "categoryId": 6, | ||
307 | + "createTime": 1453970276, | ||
308 | + "displayPosition": 1, | ||
309 | + "inputType": "checkbox", | ||
310 | + "isAllowAlias": "N", | ||
311 | + "isColor": "N", | ||
312 | + "isMust": "N", | ||
313 | + "isSearch": "N", | ||
314 | + "maxValueLen": 50, | ||
315 | + "orderBy": 0, | ||
316 | + "remark": "备注", | ||
317 | + "saleType": 1, | ||
318 | + "state": 1 | ||
319 | + }] | ||
320 | + } | ||
321 | +} | ||
322 | + | ||
323 | +``` | ||
324 | + | ||
325 | + | ||
326 | + |
-
Please register or login to post a comment