Commit Graph

8 Commits

Author SHA1 Message Date
4f315cc2db feat: implement coupon management and receive flow 2026-01-13 18:19:29 +08:00
ad9dc4615f fix: scope coupons by tenant 2026-01-09 16:23:42 +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
317db2daad feat: 更新服务方法,显式接受用户ID参数,简化上下文调用 2025-12-30 23:23:56 +08:00
2c633dac0f feat: 添加用户优惠券列表接口及相关数据结构 2025-12-30 17:53:27 +08:00
dbfb08ed37 feat: add coupon support to orders and create user_coupons model
- Added CouponID field to Order model to track used coupons.
- Updated order query generation to include CouponID.
- Introduced UserCoupon model to manage user coupon associations.
- Implemented query methods for UserCoupon to facilitate CRUD operations.
- Updated query context and default query setup to include UserCoupon.
2025-12-30 17:28:21 +08:00