shanshanzhong
4a2501a3d1
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
..
2025-04-25 15:09:31 +09:00
2025-04-25 15:09:31 +09:00
2026-03-06 21:58:29 -08:00
2026-02-08 06:41:23 -05:00
2026-03-26 01:28:50 -07:00
2026-03-10 21:42:02 -07:00
2026-03-11 08:06:13 -07:00
2026-03-11 03:56:48 -07:00
2025-04-25 15:09:31 +09:00
2026-03-03 09:32:22 -08:00
2026-03-04 02:15:32 -08:00
2026-03-11 08:06:13 -07:00
2026-03-11 08:06:13 -07:00