This commit is contained in:
2026-01-26 18:19:12 +08:00
parent b4710619ff
commit a7964a0b43

View File

@@ -108,7 +108,7 @@ class LotteryService
$small_trigger_times = intval($this->config['small_pool_trigger_times'] ?? 200);//触发抽奖次数
$small_round = intval($this->redis->get('lottery:small_pool:round') ?: 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){
throw new Exception('配置错误');
}