在使用应用消息服务前,如果需要接入应用菜单。需要提供以下数据内容
"operationList": [
{
"appId": "2", //应用ID
"content": "一级选项1", //选项显示名称
"action": "", //选项操作
"operationType": "1", //选项类型
"sort": 1, //选项顺序
"operationList": [ //选项的子选项
{
"appId": "2",
"content": "子项1",
"action": "URL地址",
"operationType": "1",
"sort": 1,
"operationList": null
}
]
},
{
"appId": "2",
"content": "一级选项2",
"action": "http://xxx",
"operationType": "1",
"sort": 2,
"operationList": []
}
]
{
"succeed":true, // 返回操作成功
"code":-1, // 错误代码
"data":true, // 返回值
"msg":"描述" // 描述信息
}