红包列表 修改1
This commit is contained in:
@@ -99,7 +99,7 @@ class Redpacket extends BaseCom
|
|||||||
public function roomRedPackets()
|
public function roomRedPackets()
|
||||||
{
|
{
|
||||||
$roomId = $this->request->get('room_id');
|
$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);
|
return V(1, '获取成功', $result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user