diff --git a/app/data/service/RebateService.php b/app/data/service/RebateService.php index 15a84ad68..1b31ae4d6 100644 --- a/app/data/service/RebateService.php +++ b/app/data/service/RebateService.php @@ -277,7 +277,7 @@ class RebateService extends Service [$tVip, $tRate] = [$item['vip_code'], $item['discount_rate']]; foreach ($users as $user) if (isset($rules[$user['vip_code']]) && $user['vip_code'] > $tVip) { $rule = $rules[$user['vip_code']]; - if ($tRate > $rule['discount'] && $tRate < 100) { + if ($tRate > $rule['discount']) { $map = ['uuid' => $user['id'], 'type' => self::PRIZE_05, 'order_no' => $this->order['order_no']]; if (DataUserRebate::mk()->where($map)->count() < 1) { $dRate = ($rate = $tRate - $rule['discount']) / 100;