shanshanzhong 4a2501a3d1
All checks were successful
Build docker and publish / build (20.15.1) (push) Successful in 7m55s
fix: 折扣匹配改为精确匹配 quantity,不再取全局最小值
将 getDiscount 和 isNewUserOnlyForQuantity 的匹配逻辑从
inputMonths >= discount.Quantity 改为 inputMonths == discount.Quantity,
买多少天就用多少天对应的折扣,避免错误配置导致折扣泄漏。
同时增加 discount 值合法性校验(>0 且 <100)。

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-26 01:28:50 -07:00
..
2026-03-18 10:28:55 -07:00
2026-03-08 08:05:26 -07:00
2026-03-06 21:58:29 -08:00
2026-03-18 00:53:35 -07:00
2026-03-06 21:58:29 -08:00
2026-03-06 01:30:39 -08:00