diff --git a/application/common/service/LotteryService10.php b/application/common/service/LotteryService10.php index f6374d08..e4e78c99 100644 --- a/application/common/service/LotteryService10.php +++ b/application/common/service/LotteryService10.php @@ -48,6 +48,10 @@ 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); }