Files
hi-server/initialize/migrate/database
shanshanzhong147 02b41e7a2c
Build docker and publish / build (20.15.1) (push) Failing after 8m50s
Build docker and publish / build (20.15.1) (pull_request) Successful in 8m19s
修复(#85): 促销系统 quantity 设计修正补丁(跨任务统一修复)
- subscribe_promo 表加 quantity 字段,BIGINT NOT NULL DEFAULT 1
- EvaluatePromo 加 quantity 参数,按 subscribeID + quantity 精确匹配
- Promo 从 Subscribe 顶层移到 SubscribeDiscount
- 查询加 quantity,返回 map[subscribeID][quantity] 二级映射
- recordPromoUsage 错误向上传播,不再静默吞掉
- preCreate 和 purchase 的 allowPromo 判定统一为 orderType==1
- 迁移脚本增加幂等处理(guarded DROP/ADD/MODIFY)

Co-authored-by: multica-agent <github@multica.ai>
2026-05-27 05:57:21 -07:00
..
2025-04-25 12:08:29 +09:00
2026-05-19 19:35:44 -07:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-04-25 12:08:29 +09:00
2025-08-15 12:30:21 -04:00
2025-08-15 12:30:21 -04:00
2026-01-05 17:53:31 +08:00
2026-01-06 16:16:42 +08:00
2026-01-06 16:16:42 +08:00
x
2026-03-08 22:37:58 -07:00
x
2026-03-08 22:37:58 -07:00
2026-03-19 03:21:47 -07:00
2026-03-19 03:21:47 -07:00
2026-03-19 03:21:47 -07:00
x
2026-05-26 10:02:38 -07:00