企业🤖AI智能体构建引擎,智能编排和调试,一键部署,支持私有化部署方案 广告
##列表 ~~~[api] get:admin/groups <<< success { "code": 200, "data": {}, "error": "" } <<< error ~~~ ##详情 ~~~[api] get:admin/groups/:id <<< success { "code": 200, "data": { "id": 10, "title": "超管", //名称 "rules": "1,2,3,4", //规则 "pid": 0, //父id,默认0 "remark":"", //备注 "status": 1 //状态,1启用,0禁用 }, "error": "" } <<< error ~~~ ##添加 ~~~[api] post:admin/groups *title#名称 *rules#规则 *int:pid#父id,默认0 *remark#//备注 *int:status#状态,1启用,0禁用 <<< success { "code": 200, "data": "添加成功", "error": "" } <<< error ~~~ ##编辑 ~~~[api] PUT:admin/groups/:id title#名称 rules#规则 int:pid#父id,默认0 remark#//备注 int:status#状态,1启用,0禁用 <<< success { "code": 200, "data": "编辑成功", "error": "" } <<< error ~~~ ##删除 ~~~[api] DELETE:admin/groups/:id <<< success { "code": 200, "data": "删除成功", "error": "" } <<< error ~~~ ##批量删除 ~~~[api] post:admin/groups/deletes *array:ids#ID组 <<< success { "code": 200, "data": "删除成功", "error": "" } <<< error ~~~ ##批量修改状态 ~~~[api] post:admin/groups/enables *array:ids#ID组 *int:status#状态(0禁用、1启用) <<< success { "code": 200, "data": "操作成功", "error": "" } <<< error ~~~