refactor(terminology): 统一术语标准并优化代码类型安全

- 将B2B统一为TOB术语
- 将状态值统一为大写格式
- 优化类型声明,避免使用any
- 将float类型替换为decimal以提高精度
- 新增术语标准化文档
- 优化路由结构和菜单分类
- 添加TypeORM实体类
- 增强加密模块安全性
- 重构前端路由结构
- 完善任务模板和验收标准
This commit is contained in:
2026-03-20 09:43:50 +08:00
parent eafa1bbe94
commit 48a78137c5
132 changed files with 13767 additions and 2140 deletions

View File

@@ -27,12 +27,17 @@
"license": "ISC",
"type": "commonjs",
"dependencies": {
"@nestjs/common": "^11.1.17",
"@nestjs/event-emitter": "^3.0.1",
"@nestjs/typeorm": "^11.0.0",
"@types/bcrypt": "^6.0.0",
"@types/node-cron": "^3.0.11",
"@types/speakeasy": "^2.0.10",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.18.1",
"bcrypt": "^6.0.0",
"bullmq": "^5.71.0",
"class-validator": "^0.15.1",
"cors": "^2.8.6",
"express": "^5.2.1",
"ioredis": "^5.10.0",
@@ -44,6 +49,8 @@
"redis": "^5.11.0",
"sharp": "^0.34.5",
"speakeasy": "^2.0.0",
"typeorm": "^0.3.28",
"uuid": "^11.1.0",
"ws": "^8.19.0",
"xstate": "^5.0.0",
"zod": "^4.3.6"