查看错误

This commit is contained in:
2025-10-14 11:57:05 +08:00
parent 51b78a0be3
commit 2eaa7360e9
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ class Redpacket extends BaseCom
// 获取房间内红包列表
public function roomRedPackets()
{
$roomId = $this->request->get('room_id');
$roomId = $this->request->post('room_id');
$result = Db::name('redpacket')->where(['room_id' => $roomId, 'status' => ['<=',1]])->select();
if($result){
foreach ($result as &$item) {