企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
##查询列表 ~~~[api] post:admin/users/list <<< success { "code": 200, "data": { "产品助理": [ { "id": 2, "username": "adidas", "password": "231622f477ff706eea11e3373c1d57e5", "remark": "adidas", "create_time": "2018-11-27 16:01:44", "realname": "adidas", "structure_id": 1, "post_id": 12, "status": 1, "delete_time": null, "s_name": "湖州明智网络科技有限公司", "p_name": "产品助理" } ], "文案策划": { "1": { "id": 3, "username": "业务员业务员", "password": "d93a5def7511da3d0f2d171d9c344e91", "remark": "", "create_time": "2018-11-29 16:14:56", "realname": "业务员", "structure_id": 37, "post_id": 11, "status": 1, "delete_time": null, "s_name": "总经办", "p_name": "文案策划" } } }, "error": "" } <<< error ~~~ ##列表 ~~~[api] get:admin/users <<< success { "code": 200, "data": {}, "error": "" } <<< error ~~~ ##详情 ~~~[api] get:admin/users/:id <<< success { "code": 200, "data": { "id": 1, "username": "admin", "password": "0c7540eb7e65b553ec1ba6b20de79608", "remark": "", "create_time": null, "status": 1, }, "error": "" } <<< error ~~~ ##添加 ~~~[api] post:admin/users *username#用户名 *password#密码 *array:groups#用户角色ID组 remark#备注 *int:status#状态,1启用,0禁用 <<< success { "code": 200, "data": "添加成功", "error": "" } <<< error ~~~ ##编辑 ~~~[api] PUT:admin/users/:id password#密码 *array:groups#用户角色ID组 remark#备注 int:status#状态,1启用,0禁用 <<< success { "code": 200, "data": "编辑成功", "error": "" } <<< error ~~~ ##删除 ~~~[api] DELETE:admin/users/:id <<< success { "code": 200, "data": "删除成功", "error": "" } <<< error ~~~ ##批量删除 ~~~[api] post:admin/users/deletes *array:ids#ID组 <<< success { "code": 200, "data": "删除成功", "error": "" } <<< error ~~~ ##批量修改状态 ~~~[api] post:admin/users/enables *array:ids#ID组 *int:status#状态(0禁用、1启用) <<< success { "code": 200, "data": "操作成功", "error": "" } <<< error ~~~