房间用户列表

This commit is contained in:
2025-12-09 17:23:52 +08:00
parent 16c8ec2856
commit 27ab27296f
2 changed files with 2 additions and 2 deletions

View File

@@ -215,7 +215,7 @@ class Room extends BaseCom
{
$room_id = input('room_id', 0);
$page = input('page', 1);
$limit = input('limit', 3);
$limit = input('limit', 5);
$reslut = model('Room')->room_online_list($room_id, $page, $limit);
return V($reslut['code'], $reslut['msg'], $reslut['data']);
}

View File

@@ -1800,7 +1800,7 @@ class Room extends Model
//房间在线列表
public function room_online_list($room_id, $page = 1, $limit = 3)
public function room_online_list($room_id, $page = 1, $limit = 5)
{
if (!$room_id) {
return ['code' => 0, 'msg' => '参数错误'];