拍卖结束 拍卖下麦

This commit is contained in:
2025-12-22 20:43:29 +08:00
parent bf02aaad14
commit 2860daef6e

View File

@@ -1255,12 +1255,13 @@ class RoomPit extends Model
if(!model('QuanXian')->quan_xian($user_id, $accept_user_id, $room_id)){
return ['code' => 0, 'msg' => '您没有权限操作', 'data' => null];
}
}
//获取被踢用户的爵位信息
$user_jue_info = model('api/Nobility')->getUserNobilityInfo($accept_user_id);
foreach ($user_jue_info['power_list'] as $key => $value){
if($value['id'] == 7){
return ['code' => 0, 'msg' => '该用户已是'.$user_jue_info['nobility_name'].'爵位,不能踢', 'data' => null];
//获取被踢用户的爵位信息
$user_jue_info = model('api/Nobility')->getUserNobilityInfo($accept_user_id);
foreach ($user_jue_info['power_list'] as $key => $value){
if($value['id'] == 7){
return ['code' => 0, 'msg' => '该用户已是'.$user_jue_info['nobility_name'].'爵位,不能踢', 'data' => null];
}
}
}