feat: harden data access and simplify user management

This commit is contained in:
xuelong committed 2026-08-25 21:02:30 -07:00
1 parent 3dd5731751
commit adb780bc82
51 files changed
+3239 -2121

No files matched your search

+2 -2
View File
@@ -35,8 +35,8 @@ http://localhost:8102/docs
| `/v1/openapi/knowledge-qa/query` | `POST` | 百姓惠智能客服第三方问答接口 |
| `/v1/admin/travel/customer-service-query` | `POST` | 兼容旧版外部问答接口 |
| `/v1/admin/super-agent/run` | `POST` | Super Agent 任务 |
| `/v1/admin/roles` | `GET/POST` | 角色管理 |
| `/v1/admin/users` | `GET/POST` | 用户管理 |
| `/v1/admin/users` | `GET/POST` | 用户管理;仅接受“数据管理”或“数据查看”权限 |
| `/v1/admin/users/{user_id}` | `PATCH` | 修改权限、状态或重置密码;用户不做物理删除 |
## 登录示例