refactor: refactor of backend
This commit is contained in:
1 parent
d4cb8c5def
commit
14e5af0c9c
55 files changed
+2251
-1805
No files matched your search
@@ -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/`。
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in new issue
Block a user