房间用户列表

This commit is contained in:
2025-12-09 16:56:03 +08:00
parent f4800b9d9d
commit 672a43a599
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); $room_id = input('room_id', 0);
$page = input('page', 1); $page = input('page', 1);
$limit = input('limit', 15); $limit = input('limit', 3);
$reslut = model('Room')->room_online_list($room_id, $page, $limit); $reslut = model('Room')->room_online_list($room_id, $page, $limit);
return V($reslut['code'], $reslut['msg'], $reslut['data']); 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 = 15) public function room_online_list($room_id, $page = 1, $limit = 3)
{ {
if (!$room_id) { if (!$room_id) {
return ['code' => 0, 'msg' => '参数错误']; return ['code' => 0, 'msg' => '参数错误'];