🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
## 应用操作员管理 ### URL >/web/index.php?c=account&a=post&do=operators ### 请求方式 GET ### 请求参数 | 名称 | 类型 | 必填 | 描述 | | ----------- | :-----: | :-----: | ----------- | | uniacid | int | 是 | 平台uniacid | | username | string | 否 | 要搜索的用户昵称 | ### 返回数据 ``` { "message": { "errno": 0, "message": { "list": [ //操作员列表 { "id": "1483", "uniacid": "851", "uid": "411", "type": "we7_wmall", "permission": "所有", //权限信息 "url": "", "module_name": "微擎外送|外卖|餐饮|生鲜|超市系统", //可操作的应用 "can_delete": true, //是否显示删除按钮 "username": "o00wait1", //用户名 "permission_setting_url": "./index.php?c=module&a=display&do=switch&module_name=we7_wmall&uniacid=851&redirect=.%252Findex.php%253Fc%253Dmodule%2526a%253Dpermission%2526do%253Dpost%2526uid%253D411%2526m%253Dwe7_wmall%2526uniacid%253D851" //操作里权限设置的链接 }, { "id": "1484", "uniacid": "851", "uid": "409", "type": "we7_diyspecial", "permission": "5项", "url": "", "module_name": "专题页面", "can_delete": true, "username": "o00wait0", "permission_setting_url": "./index.php?c=module&a=display&do=switch&module_name=we7_diyspecial&uniacid=851&redirect=.%252Findex.php%253Fc%253Dmodule%2526a%253Dpermission%2526do%253Dpost%2526uid%253D409%2526m%253Dwe7_diyspecial%2526uniacid%253D851" }, { "id": "1460", "uniacid": "851", "uid": "409", "type": "we7_wmall", "permission": "所有", "url": "", "module_name": "微擎外送|外卖|餐饮|生鲜|超市系统", "can_delete": true, "username": "o00wait0", "permission_setting_url": "./index.php?c=module&a=display&do=switch&module_name=we7_wmall&uniacid=851&redirect=.%252Findex.php%253Fc%253Dmodule%2526a%253Dpermission%2526do%253Dpost%2526uid%253D409%2526m%253Dwe7_wmall%2526uniacid%253D851" } ], "total": "3", "page": 1, "page_size": 15 } }, "redirect": "", "type": "ajax" } ``` #### 删除应用操作员接口 ##### URL > index.php?c=module&a=permission&do=delete ##### 参数 |名称|格式|描述|是否必选| |-|-|-| |uid|int| 要删除的操作员UID |是| |uniacid|int| 要删除的操作员所在的平台账号UNIACID |是| |m|string| 要删除的操作员对应的模块 |是| ##### 返回 正确: ``` { "message": { "errno": 0, "message": "删除成功!" }, "redirect": "", "type": "ajax" } ``` 错误: ``` { "message": { "errno": -1, "message": "参数错误!" }, "redirect": "", "type": "ajax" } ```