fix: clear stale token expiry on auth failure, correct doc inaccuracies
- request.js: also remove admin_token_expiry when clearing auth on 1001/1002 response, preventing stale expiry value in storage - 01-服务端架构.md: fix table count from 10 to 11 - 03-管理后台架构.md: add /api/v1 prefix to all API endpoint paths
这个提交包含在:
@@ -19,7 +19,7 @@ server/
|
||||
│ ├── init-db.js # 数据库初始化(建表 + 种子数据)
|
||||
│ └── local-server.js # 本地开发 HTTP 服务器
|
||||
├── sql/
|
||||
│ └── schema.sql # 完整 DDL(10 张表)
|
||||
│ └── schema.sql # 完整 DDL(11 张表)
|
||||
└── src/
|
||||
├── index.js # SCF 入口:导出 main_handler(event, context)
|
||||
├── app.js # 请求分发:解析 → 路由匹配 → 执行 → 响应
|
||||
|
||||
在新工单中引用
屏蔽一个用户