This commit is contained in:
2025-12-21 17:03:05 +08:00
parent c661018a1e
commit f81440882b

View File

@@ -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);
}