refactor: refactor of backend

This commit is contained in:
sophie committed 2026-09-28 14:52:28 +08:00
1 parent d4cb8c5def
commit 14e5af0c9c
55 files changed
+2251 -1805

No files matched your search

+3 -2
View File
@@ -115,10 +115,11 @@ raise AppError(code="WECOM_NOT_IN_AGENT_SCOPE", message="...", http_status=401)
| 蓝图 | 前缀 |
|------|------|
| `api/file_check_tools.py` | `/api/file-check/tools/*` |
| `api/shipping_notice_tools.py` | `/api/shipping-notice/tools/*` |
| `api/tools/file_check.py` | `/api/file-check/tools/*` |
| `api/tools/shipping_notice.py` | `/api/shipping-notice/tools/*` |
**禁止**将上述 Tool 路由改为标准 envelope;契约测试见 `backend/tests/test_api_error_contract.py`。
根路径 `api/*_tools.py` 仅为兼容 shim,真实现已收口到 `api/tools/`。
---