This commit is contained in:
2026-01-27 20:26:35 +08:00
parent a8725713aa
commit 8b12d46912
2 changed files with 5 additions and 5 deletions

View File

@@ -151,7 +151,11 @@ local lottery_rate = tonumber(ARGV[6]) -- 爆币率
-- 1. 基础金额拆分
local pool_add_rate = 100 - lucky_rate
local small_pool_add = gift_gold * pool_add_rate / 100
local small_pool_adds = gift_gold * pool_add_rate / 100
local small_pool_add = string.format("%.2f", small_pool_adds)
-- 2. Redis键定义

View File

@@ -48,10 +48,6 @@ class LotteryService10
->sum('amount') ?: 0;
$this->redis->set('lottery:small_pool:total_gold_10', $smallTotalGold);
}
$smallTotalGolds = Db::name('bb_lottery_pool_flow_10')
->where(['pool_type' => 1, 'type' => 1, 'times' => $small_round])
->sum('amount');
$this->redis->set('lottery:small_pool:total_gold_11', $smallTotalGolds);
}