清除全部魅力
This commit is contained in:
@@ -937,9 +937,9 @@ class Tencent extends Model
|
||||
}elseif ($action == 'Logout'){
|
||||
Db::name('user')->where('id', $uid)->update(['is_online' => 0, 'updatetime' => time()]);
|
||||
$room = Db::name('vs_room_visitor')->where('user_id', $uid)->order('id desc')->value('room_id');
|
||||
$text['text'] = '重新上线!';
|
||||
$text['text'] = '掉线!';
|
||||
$text['user_id'] = $uid;
|
||||
$text['type'] = 0;
|
||||
$text['type'] = 2;
|
||||
model('Chat')->sendMsg(1058,$room,$text);
|
||||
}
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user