Commit Graph

12 Commits

Author SHA1 Message Date
16d13a2ab1 fix: group order queries to preserve tenant scope 2026-01-12 10:34:07 +08:00
cd96033a3d fix: use int64 for auth and recharge ids 2026-01-09 10:06:41 +08:00
3e095c57f3 feat: tenant-scoped routing and portal navigation 2026-01-08 21:30:46 +08:00
edbb62449b fix: stabilize backend tests 2026-01-08 14:07:58 +08:00
d98f41f1ac feat: align ids to int64 2026-01-08 09:57:04 +08:00
95bc5bdb5d feat: 更新钱包充值逻辑,自动处理充值订单支付,模拟支付成功返回 2025-12-31 12:00:38 +08:00
798be672bc refactor: 优化交易类型判断逻辑,使用switch语句增强可读性 2025-12-30 23:31:41 +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
fba77afec1 feat: 重构内容列表接口,使用过滤器结构体简化参数传递;更新相关服务和测试用例 2025-12-29 15:04:55 +08:00
8c4bc55f45 feat: update app errors 2025-12-29 14:54:05 +08:00
8fa3d18a9c Refactor order and tenant ledger models to use consts for Currency and Type fields; add new UserStatus values; implement comprehensive test cases for content, creator, order, super, and wallet services. 2025-12-29 14:21:20 +08:00
ad52371028 feat: implement new structure 2025-12-29 09:30:49 +08:00