腾讯在离线 回调
This commit is contained in:
@@ -1175,6 +1175,12 @@ class Room extends Model
|
||||
//1-禁麦位,2-清空消息,3-清空魅力值,4-加入黑名单,5-踢出房间,6-关闭麦克风,7-申请上麦,8-同意上麦,9-拒绝上麦,10-点歌,11-开启PK',
|
||||
model('api/Room')->room_operation_record($uid,$room_id,5,$user_id);
|
||||
}
|
||||
if($type == 2){
|
||||
$text['text'] = '用户 ' . $nickname . ' 被 踢出房间';
|
||||
model('api/Chat')->sendMsg(1011,$room_id,$text,$user_id);
|
||||
//1-禁麦位,2-清空消息,3-清空魅力值,4-加入黑名单,5-踢出房间,6-关闭麦克风,7-申请上麦,8-同意上麦,9-拒绝上麦,10-点歌,11-开启PK',
|
||||
model('api/Room')->room_operation_record($uid,$room_id,5,$user_id);
|
||||
}
|
||||
if($type == 0){
|
||||
//发送消息
|
||||
$text['text'] = '用户 ' . $nickname .' 退出了房间';
|
||||
|
||||
@@ -926,7 +926,7 @@ class Tencent extends Model
|
||||
$text['type'] = 2;
|
||||
model('Chat')->sendMsg(1058,$v['room_id'],$text);
|
||||
}else{
|
||||
model('Room')->quit_room($v['user_id'], $v['room_id'],$v['user_id'],1);
|
||||
model('Room')->quit_room($v['user_id'], $v['room_id'],$v['user_id'],2);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user