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