多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
[TOC] ## 首页内容 1. 最新一条提示内容 ~~~[api] post:/home/newmessage <<< 请求内容 { } <<< 返回结果 { "code": 0, "info": "成功", "data": { "title": "【杨新亮】低于控价销售手机", "url": "xxxx/xxx/xxx", "create_time": "2017-09-04 15:34:10" } } ~~~ 错误参见[错误码说明](错误码说明.md) 2. 常用功能列表 ~~~[api] post:/home/mymenu <<< 请求内容 { } <<< 返回结果 { "code": 0, "info": "成功", "data": [{ "id": 3, "title": "个人信息", "url": null, "icon": null, "class": null }, { "id": 4, "title": "店面管理", "url": null, "icon": null, "class": null }, { "id": 6, "title": "员工管理", "url": null, "icon": null, "class": null }] } ~~~ 错误参见[错误码说明](错误码说明.md) ## 获取全部功能配置项 1. 根据权限生成功能列表 ~~~[api] post:/home/myallmenu <<< 请求内容 { } <<< 返回结果 { "code": 0, "info": "成功", "data": [{ "id": 1, "title": "我的", "url": null, "icon": null, "class": null, "children": [{ "id": 2, "title": "我的消息", "url": null, "icon": null, "class": null }, { "id": 3, "title": "个人信息", "url": null, "icon": null, "class": null }] }, { "id": 6, "title": "员工管理", "url": null, "icon": null, "class": null, "children": [{ "id": 7, "title": "员工列表", "url": null, "icon": null, "class": null }] }] } ~~~ 错误参见[错误码说明](错误码说明.md) ## 提交常用功能配置项 1. 根据权限生成功能列表 ~~~[api] post:/home/setmymenu <<< 请求内容 { "user_menu": [3,5,7,8] } <<< 返回结果 { "code": 0, "info": "成功", "data": "" } ~~~ 错误参见[错误码说明](错误码说明.md)