房间用户列表
This commit is contained in:
@@ -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']);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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' => '参数错误'];
|
||||||
|
|||||||
Reference in New Issue
Block a user