红包列表 修改1

This commit is contained in:
2025-10-11 18:18:43 +08:00
parent d7c48a5ae0
commit fcf912ac90

View File

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