fix(activity): 移除对对碰候选奖励的库存前置过滤

对对碰结算时不再因 activity_reward_settings.quantity 小于等于 0 而提前跳过候选奖励,便于按实际商品库存进行排查与处理。
This commit is contained in:
Zuncle 2026-05-18 20:34:23 +08:00
parent cf82660a45
commit 566641a2e7

View File

@ -439,9 +439,6 @@ func (h *handler) CheckMatchingGame() core.HandlerFunc {
if err == nil && len(rewards) > 0 {
var candidate *model.ActivityRewardSettings
for _, r := range rewards {
if r.Quantity <= 0 {
continue
}
if actualPairs == r.MinScore {
candidate = r
break