## 获取商品分类列表
~~~[api]
post:/online/Goodsctr/categoryList?framework=api
*openid=默认值#微信openid
*groupid#项目id
<<<
success
{
"code": 0,
"msg": "查询成功",
"data": [
{
"id": "2",
"title": "烧烤"
},
{
"id": "3",
"title": "汤类"
},
{
"id": "13",
"title": "小吃"
},
{
"id": "1",
"title": "点心"
},
{
"id": "12",
"title": "酒水饮料"
},
{
"id": "7",
"title": "凉菜"
},
{
"id": "6",
"title": "热菜"
},
{
"id": "4",
"title": "面食"
},
{
"id": "5",
"title": "主食"
}
]
}
<<<
error
{
"code": -1,
"msg": "",
"data": []
}
~~~
---
**返回信息**
| 参数 | 参数类型 | 必须 | 说明|
| ----------- | ------------------------------ | ------------ | --- |
| id| string| yes |站点id|
| name| String| yes | 站点名|
| worker_name| String| yes | 联系人|
| worker_phone|String|yes|联系人电话|
| status|String|yes|状态1运营中;0停运|
|groupid|String|yes|店铺id|