feat: 新增微信小程序客户端鉴权与登录功能

This commit is contained in:
andyesfly committed 2026-10-24 21:15:14 +08:00
1 parent 9d3bb13ecf
commit 4c48b04d5e
13 files changed
+685 -5

No files matched your search

+1 -1
View File
@@ -51,7 +51,7 @@ export class RbacMiddleware implements IMiddleware<Context, NextFunction> {
// 中间件匹配范围:全局生效,跳过公开接口、仪表盘与电工 APP 接口
// /api/workers/options 与 /api/workers/recommend 放行:业务员在「项目勘察派单」页
// 仍可调用电工下拉与推荐接口,不受 dispatch:worker 权限限制(本次需求有意设计)
ignore = ["/api/auth/*", "/api/health", "/api/dashboard/*", "/api/worker-app/*", "/api/workers/options", "/api/workers/recommend"];
ignore = ["/api/auth/*", "/api/health", "/api/dashboard/*", "/api/worker-app/*", "/api/customer-app/*", "/api/workers/options", "/api/workers/recommend"];
@Inject()
permissionService!: PermissionService;