爆币
This commit is contained in:
@@ -108,7 +108,7 @@ class LotteryService
|
|||||||
$small_trigger_times = intval($this->config['small_pool_trigger_times'] ?? 200);//触发抽奖次数
|
$small_trigger_times = intval($this->config['small_pool_trigger_times'] ?? 200);//触发抽奖次数
|
||||||
$small_round = intval($this->redis->get('lottery:small_pool:round') ?: 1);//小奖轮次
|
$small_round = intval($this->redis->get('lottery:small_pool:round') ?: 1);//小奖轮次
|
||||||
$lucky_rate = intval($this->config['lucky_rate'] ?? 1);//收益率
|
$lucky_rate = intval($this->config['lucky_rate'] ?? 1);//收益率
|
||||||
$lottery_rate = intval($this->config['lottery_rate'] ?? 115);//爆币率
|
$lottery_rate = intval($this->config['lottery_rate'] ?? 100);//爆币率
|
||||||
if($lottery_rate <= 2){
|
if($lottery_rate <= 2){
|
||||||
throw new Exception('配置错误');
|
throw new Exception('配置错误');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user