|
|
|
@ -611,6 +611,9 @@ class GameRebateService
|
|
|
|
|
throw new \Exception('倍数上限需大于0');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if ($defaultTimes > $maxTimes) {
|
|
|
|
|
throw new \Exception('默认倍数不能大于倍数上限');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$setting = M('rebate_times_setting', 'tab_')->where(['base_game_id' => $baseGameId, 'type' => $type])->find();
|
|
|
|
|
|
|
|
|
|