企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
[TOC] ### 审核用户列表 #### URL >web/index.php?c=user&a=display&type=check #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | 值 | | ----------- | :-----: | :-----: | ----------- | | user_type | int | 否 | 用户类型 | 普通用户:1;应用操作员:3 | | expire | int | 否 | 用户是否已到期 | 未过期:1;已过期:2 | | keyword | string | 否 | 关键词 | 用户输入要搜索的用户名或手机号 | | page | int | 否 | 页码 | - | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": "2", "page": 1, "page_size": 20, "list": [ { "uid": "417", "owner_uid": "0", "groupid": "56", "username": "brjunregister1", //用户名 "type": "1", "status": "1", "joindate": "2019-09-17", //注册时间 "joinip": "172.17.0.1", "lastvisit": "1568704119", "lastip": "172.17.0.1", "remark": "", "starttime": "1568704119", "endtime": "永久有效", //到期时间 "founder_groupid": "0", "register_type": "0", "openid": "0", "welcome_li<x>nk": "0", "typename": "普通用户", //用户类型 "avatar": "./resource/images/nopic-user.png", //用户头像 "module_num": [], "groupname": "用户权限组测试新支持" }, { "uid": "410", "owner_uid": "0", "groupid": "56", "username": "brjunregister", "type": "1", "status": "1", "joindate": "2019-08-27", "joinip": "172.17.0.1", "lastvisit": "1566895934", "lastip": "172.17.0.1", "remark": "", "starttime": "1566895934", "endtime": "永久有效", "founder_groupid": "0", "register_type": "0", "openid": "0", "welcome_li<x>nk": "0", "typename": "普通用户", "avatar": "./resource/images/nopic-user.png", "module_num": [], "groupname": "用户权限组测试新支持" } ] } }, "redirect": "", "type": "ajax" } ``` ### 审核通过和拒绝用户 #### URL > web/index.php?c=user&a=display&do=operate #### 请求方式 > POST #### 请求参数 | 名称 | 类型 | 必填 | 描述 | 值 | | ----------- | :-----: | :-----: | ----------- | | uid | int | 是 | 用户uid | - | | type | varchar | 是 | check_pass 审核通过; recycle 拒绝| - | #### 返回数据 正确: ``` { "message": { "errno": 0, "message": "更新成功!" }, "redirect": "http://prox.we7.com/./", "type": "ajax" } ``` 错误: ``` { "message": { "errno": -1, "message": "非法操作!" }, "redirect": "http://prox.we7.com/./", "type": "ajax" } ```