From fcf912ac9014a9984c533e13316c0858649306af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=8D=8E=E6=B8=85?= <18691022700@163.com> Date: Sat, 11 Oct 2025 18:18:43 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BA=A2=E5=8C=85=E5=88=97=E8=A1=A8=20?= =?UTF-8?q?=E4=BF=AE=E6=94=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/api/controller/Redpacket.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/api/controller/Redpacket.php b/application/api/controller/Redpacket.php index 9a90ffd..b22222e 100644 --- a/application/api/controller/Redpacket.php +++ b/application/api/controller/Redpacket.php @@ -99,7 +99,7 @@ class Redpacket extends BaseCom public function roomRedPackets() { $roomId = $this->request->get('room_id'); - $result = Db::name('redpacket')->where(['room_id' => $roomId, 'status' => [1, 0]])->select(); + $result = Db::name('redpacket')->where(['room_id' => $roomId, 'status' => ['<=',1]])->select(); return V(1, '获取成功', $result); } } \ No newline at end of file