💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ### 用户管理列表 #### URL >web/index.php?c=user&a=display #### 请求方式 > GET #### 请求参数 | 名称 | 类型 | 必填 | 描述 | 值 | | ----------- | :-----: | :-----: | ----------- | | user_type | int | 否 | 用户类型 | 普通用户:1;应用操作员:3 | | expire | int | 否 | 用户是否已到期 | 未过期:1;已过期:2 | | keyword | string | 否 | 关键词 | 用户输入要搜索的用户名或手机号 | | page | int | 否 | 页码 | - | #### 返回数据 ``` { "message": { "errno": 0, "message": { "total": "14", "page": 1, "page_size": 20, "list": [ { "uid": "416", "owner_uid": "0", "groupid": "0", "username": "test124", //用户名 "type": "1", "typename": "普通用户", //用户类型 "status": "2", "joindate": "2019-09-10", //注册时间 "joinip": "172.17.0.1", "lastvisit": "1568102093", "lastip": "172.17.0.1", "remark": "", "starttime": "1568102093", "endtime": "服务已到期", //到期时间 "founder_groupid": "0", "register_type": "0", "openid": "0", "welcome_li<x>nk": "0", "avatar": "./resource/images/nopic-user.png", //用户头像 "module_num": [], "groupname": null }, { "uid": "415", "owner_uid": "0", "groupid": "0", "username": "test123", "type": "1", "typename": "普通用户", "status": "2", "joindate": "2019-09-10", "joinip": "172.17.0.1", "lastvisit": "1568101734", "lastip": "172.17.0.1", "remark": "", "starttime": "1568101734", "endtime": "服务已到期", "founder_groupid": "0", "register_type": "0", "openid": "0", "welcome_li<x>nk": "0", "avatar": "./resource/images/nopic-user.png", "module_num": [], "groupname": null }, { "uid": "25", "owner_uid": "0", "groupid": "4", "username": "donknap", "type": "1", "typename": "普通用户", "status": "2", "joindate": "2014-07-16", "joinip": "127.0.0.1", "lastvisit": "1542695019", "lastip": "127.0.0.1", "remark": "123", "starttime": "1442390021", "endtime": "永久有效", "founder_groupid": "0", "register_type": "0", "openid": "0", "welcome_li<x>nk": "0", "avatar": "http://pros.we7.com/attachment//images/281/2017/01/UitA9YT5aZeuYJjeGGEai6et9Eu63Z.jpg", "module_num": [], "groupname": null } ] } }, "redirect": "", "type": "ajax" } ``` ### 禁用用户 #### URL > web/index.php?c=user&a=display&do=operate #### 请求方式 > POST #### 请求参数 | 名称 | 类型 | 必填 | 描述 | 值 | | ----------- | :-----: | :-----: | ----------- | | uid | int | 是 | 用户UID | - | | type | string | 是 | 操作类型 | 禁用:recycle | #### 返回数据 正确: ``` { "message": { "errno": 0, "message": "更新成功" }, "redirect": "http://prox.we7.com/./", "type": "ajax" } ``` 错误: ``` { "message": { "errno": -1, "message": "非法操作!" }, "redirect": "http://prox.we7.com/./", "type": "ajax" } ```