refactor: refactor of backend
This commit is contained in:
1 parent
d4cb8c5def
commit
14e5af0c9c
55 files changed
+2251
-1805
No files matched your search
@@ -85,7 +85,7 @@
|
||||
| 检核 | `services/file_check_tools/task_resolver.py` | 1 | 读 `bound_schedule_task_id` |
|
||||
| 检核 | `api/workspace/file_check.py` | 3 | 进度 API 读 capabilities 列 |
|
||||
| 排程 | `services/schedule/*` | 3 | 仅当 Admin 绑定排程联动需调整 |
|
||||
| Dify 封装 | `services/dify.py` | 4 | 仅普通应用对话 Executor 调用;订单抽取不使用 |
|
||||
| Dify 封装 | `services/integrations/dify.py` | 4 | 仅普通应用对话 Executor 调用;订单抽取不使用 |
|
||||
|
||||
### 0.6 前端(可改)
|
||||
|
||||
|
||||
@@ -468,7 +468,7 @@ verify_duplicate # 确认重复 Invoice 对应原单
|
||||
- 模型:`app/models/integration_connector.py`(ClientInstance / 按版本存储的 InterfaceDefinition / Binding / CredentialReference / IntegrationCall;异步能力启用后再增加 IntegrationAsyncTask)
|
||||
- 服务:`app/services/integration_connector/`(`capability.py` / `binding.py` / `engine.py` / `mapping.py` / `transports/rest.py` / `transports/soap.py` / `descriptors.py` / `security.py`)
|
||||
- 域能力声明:`app/services/<domain>/capabilities.py`(如 `in_transit_transfer/capabilities.py`;框架只留注册/校验机制,域契约随域代码版本化,应用组合根每次 `create_app` 幂等注册,2026-09-22 起)
|
||||
- API:`app/api/integration_connector.py`(Admin CRUD + 能力调用端点 + 工具清单)
|
||||
- API:`app/api/integration_connector/`(Admin CRUD + 能力调用端点 + 工具清单)
|
||||
- Admin UI:`frontend/src/features/admin/modules/integration-connector/`(客户端配置作业)
|
||||
- 迁移:Alembic 新迁移,挂在当前 head 后
|
||||
|
||||
|
||||
Reference in new issue
Block a user