仓库初始化

This commit is contained in:
2025-08-13 10:43:56 +08:00
commit e8f9b46680
5180 changed files with 859303 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace app\api\model;
use think\Db;
use think\Model;
class RoomUser extends Model
{
//获取房间用户列表
public function get_room_user_list($room_id)
{
$list = db::name('vs_room_visitor')->alias('a')->join('fa_user b', 'a.user_id = b.id')
->field('a.user_id,b.nickname,b.avatar')
->where('a.room_id', $room_id)->select();
return $list;
}
}