...
|
...
|
@@ -277,4 +277,50 @@ |
|
|
}
|
|
|
}
|
|
|
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
# 获取产品参数列表(区分基础商品,网销)
|
|
|
|
|
|
> 接口名: `/product/queryAllProductAttr`
|
|
|
|
|
|
-------------------------
|
|
|
|属性名称|类型|例子|说明|是否必填|
|
|
|
|--------|----|----|----|--------|
|
|
|
| categoryId| 数字类型,整形| 1|分类ID | 是|
|
|
|
| displayPosition| 数字类型,整形| 1| 1:基础商品-非销售属性 2:网销信息-上架后补全信息 3:网销信息-商品参数| 是|
|
|
|
---------------------
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
code:200,
|
|
|
message:"",
|
|
|
data: {
|
|
|
list: [{
|
|
|
"attributeId": 22,
|
|
|
"attributeName": "材质",
|
|
|
"attributeType": 2,
|
|
|
"attributeValues": "反光,毛呢,网布,皮革,麻,帆布",
|
|
|
"belong": 1,
|
|
|
"categoryId": 6,
|
|
|
"createTime": 1453970276,
|
|
|
"displayPosition": 1,
|
|
|
"inputType": "checkbox",
|
|
|
"isAllowAlias": "N",
|
|
|
"isColor": "N",
|
|
|
"isMust": "N",
|
|
|
"isSearch": "N",
|
|
|
"maxValueLen": 50,
|
|
|
"orderBy": 0,
|
|
|
"remark": "备注",
|
|
|
"saleType": 1,
|
|
|
"state": 1
|
|
|
}]
|
|
|
}
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|