Commit Graph

13 Commits

Author SHA1 Message Date
56e60e0972 fix: enforce required auth middleware 2026-01-13 10:36:48 +08:00
f1b3840dfb fix: require auth for order status 2026-01-09 17:48:47 +08:00
3e095c57f3 feat: tenant-scoped routing and portal navigation 2026-01-08 21:30:46 +08:00
3c159a2e0f fix: retry critical writes and allow super login 2026-01-08 17:37:42 +08:00
90058cdc8e fix: enforce auth on protected routes 2026-01-08 14:22:03 +08:00
87b32063f6 feat: add super admin auth 2026-01-08 10:12:18 +08:00
984770c6a1 feat(editor): update 2025-12-31 14:50:18 +08:00
e6a8e3f321 feat: 更新用户上下文处理,服务方法显式接受用户参数,简化上下文调用 2025-12-30 23:01:35 +08:00
54de243fa1 feat: Refactor user context handling and service methods
- Updated middleware to fetch user and tenant models by ID and set them in context.
- Refactored common service methods to accept userID as a parameter instead of extracting from context.
- Modified content service methods to include userID as a parameter for better clarity and performance.
- Adjusted coupon, creator, notification, order, tenant, user, and wallet services to utilize userID directly.
- Enhanced context key constants for improved readability and maintainability.
2025-12-30 22:49:26 +08:00
d87eac7d94 feat(middlewares): 添加认证中间件以处理JWT授权 2025-12-30 18:06:16 +08:00
650ada9cc6 pending 2025-12-18 09:54:29 +08:00
bfce71b56d feat: done 2025-12-18 00:21:49 +08:00
28ab17324d init 2025-12-15 17:55:32 +08:00