refactor(backend): 重构后端代码 wave 3
This commit is contained in:
1 parent
affe139bf9
commit
8415653365
97 files changed
+4673
-6164
No files matched your search
@@ -248,9 +248,10 @@ modules/users/components/UserFormModal.vue
|
||||
|
||||
| Feature | 路由前缀 | 入口 Layout / View | 说明 |
|
||||
|---------|----------|-------------------|------|
|
||||
| **auth** | `/`、`/reset-password`、`/casdoor-callback` | `LoginView` 等 | `useAuth` / `useAuthStore`;用户 API 在 `auth/api/user.api.ts` |
|
||||
| **workspace** | `/workspace/*` | `WorkspaceLayout` | 应用管理、个人资料、排程记录、嵌入 KB/货代页 |
|
||||
| **chat** | `/chat/:agentId`、`/workspace/history` | `ChatView` | SSE 在 `useChat`;子域 `shipping/`、`leave/`、`history/` |
|
||||
| **auth** | `/`、`/reset-password`、`/casdoor-callback` | `LoginView` 等 | `useAuth` / `useAuthStore`;认证请求在 `auth/api/auth.api.ts` |
|
||||
| **user** | `/workspace/profile` | `UserProfilePage` | 当前用户资料、密码修改、可访问 Agent 与指南;包含 `api/user.api.ts`、`composables/useUserProfile.ts` 和 `components/UserPasswordDialog.vue` |
|
||||
| **workspace** | `/workspace/*` | `WorkspaceLayout` | 应用管理、排程记录、嵌入 KB/货代页;为 user 资料页提供布局上下文 |
|
||||
| **chat** | `/chat/:agentId`、`/workspace/history` | `ChatView` | SSE 在 `useChat`;子域 `shipping/`、`leave/`、`history/`;请假 API 位于 `chat/leave/leave.api.ts` |
|
||||
| **admin** | `/admin/*` | `AdminLayout` | 14+ 子模块于 `modules/`;`/admin?module=x` 已 redirect |
|
||||
| **kb** | 治理 `/admin/knowledge-base`;作业 `/workspace/knowledge-base` | `KbAdminPanel` / `KbWorkspaceView` | 治理 vs 作业面分离;旧 `/kb/*` 仅 redirect |
|
||||
|
||||
|
||||
Reference in new issue
Block a user