From f81440882b5d973279084d8e0eeee875616ceac3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sun, 21 Dec 2025 17:03:05 +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/LotteryService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/service/LotteryService.php b/application/common/service/LotteryService.php index ff270e29..c13a98a8 100644 --- a/application/common/service/LotteryService.php +++ b/application/common/service/LotteryService.php @@ -62,7 +62,7 @@ class LotteryService ->where(['pool_type' => 2, 'type' => 3, 'times' => $big_round]) ->sum('amount') ?: 0; $bigReduceGold = Db::name('bb_lottery_pool_flow') - ->where(['pool_type' => 2, 'type' => [2,4], 'times' => $big_round]) + ->where(['pool_type' => 2, 'type' => ['in',[2,4]], 'times' => $big_round]) ->sum('amount') ?: 0; $this->redis->set('lottery:big_pool:total_gold', $bigAddGold + $bigReduceGold); }