房间用户列表
This commit is contained in:
@@ -1904,6 +1904,9 @@ class Room extends Model
|
||||
$offset = $firstPageOffPitCount + ($page - 2) * $limit;
|
||||
}
|
||||
|
||||
// 修复:确保偏移量不会为负数
|
||||
$offset = max(0, $offset);
|
||||
|
||||
$offPitUser = db::name('vs_room_visitor')->alias('a')
|
||||
->join('user b', 'a.user_id = b.id')
|
||||
->field('a.user_id,b.nickname,b.avatar,b.hide_status,a.is_onpit')
|
||||
|
||||
Reference in New Issue
Block a user