fix: 全面优化安全、性能和代码质量

P0: 环境变量校验/事务保护/RBAC权限
P1: 花名册分页/密码重置验证码/ErrorBoundary/N+1查询优化
P2: 导出限制/自定义错误类/body大小限制/代码去重
P3: 自定义确认弹窗替换window.confirm
This commit is contained in:
freedakgmail
2026-07-24 22:28:58 +08:00
parent 9ec21fedea
commit 5c12f28ac7
23 changed files with 634 additions and 366 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ app.use(
credentials: true,
}),
)
app.use(express.json())
app.use(express.json({ limit: '10mb' }))
app.use(morgan('dev'))
app.get('/health', (_req, res) => {