简要描述:
- 获取用户设置
请求URL:
GET/&route=plugin.instation-message.api.message.get-sub-type
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
type_id | 是 | int | 消息类型id |
返回参数 data说明:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
sub_type | 是 | int | 子菜单id |
sub_title | 是 | string | 子菜单标题 |
返回示例:第一次设置可能data可能为空
正确时返回:
{
"result": 1,
"msg": "ok",
"data": [
{
"sub_type": 0,
"sub_title": "余额23"
},
{
"sub_type": 1,
"sub_title": "积分"
},
{
"sub_type": 2,
"sub_title": "爱心值213213"
},
{
"sub_type": 3,
"sub_title": "消费积分"
},
{
"sub_type": 4,
"sub_title": "结算通知"
}
]
}
{
"result": 1,
"msg": "ok",
"data": [
{
"sub_type": 0,
"sub_title": "供应商"
},
{
"sub_type": 1,
"sub_title": "门店-收银台"
},
{
"sub_type": 2,
"sub_title": "酒店"
}
]
}
错误时返回: