From c26e96f3dde2e6ea397054b33b363b1e27705981 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Tue, 27 Jan 2026 20:15:41 +0800 Subject: [PATCH] =?UTF-8?q?=E7=88=86=E5=B8=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/service/LotteryService10.php | 4 ++++ 1 file changed, 4 insertions(+) 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); }