~~~[api:needAuth]
get:/index/Product/index
*int:category_id#分类ID
<<<
success
{
"code": 0,
"msg": "获取成功",
"data": [
{
"id": 1,
"name": "爱他美3段白金版*1(数量1)",
"price": "139.00",
"user_brokerage": "1.00",
"warehouse": ""
},
{
"id": 2,
"name": "绿茶*1(数量5)",
"price": "67.00",
"user_brokerage": "1.00",
"warehouse": ""
},
{
"id": 3,
"name": "黄道益*1(数量4)",
"price": "155.00",
"user_brokerage": "1.00",
"warehouse": ""
},
{
"id": 4,
"name": "爱他美白金3段*1(数量1)",
"price": "148.00",
"user_brokerage": "1.00",
"warehouse": ""
}
]
}
~~~
### 字段信息
| 场景名 | 备注 |
| --- | --- |
| id | 方案ID |
| name | 分类名称 |
| price | 商品价格 |
| user_brokerage | 用户佣金 |
| warehouse | 接收仓库ID,多个以逗号`,`分割,为空则代表所有仓库都可以接收 |