简要描述:
- 商品分类类型
请求域名:
- http://xx.com
请求URL:
GET/plugin.wechat-chat-sidebar.frontend.controller.customer.home-page.get-category-type
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
client | 是 | string | 值是:work 代表是企业微信端 |
type | 是 | int | 值是:17 代表是企业微信端 |
返回示例:
正确时返回:
{
"result": 1,
"msg": "ok",
"data": [
{
"id": 0,
"name": "平台自营"
},
{
"id": 33,
"name": "酒店"
},
{
"id": 32,
"name": "门店商品"
}
]
}
备注:
- key是插件id