2
This commit is contained in:
parent
b50568d9ca
commit
e62a22e951
@ -1010,7 +1010,10 @@ class UserService extends BaseService
|
||||
Log::getInstance("UserService-userImLoginStatus")->info("用户已设上线");
|
||||
} elseif ($msg_data['Info']['Action'] == "Disconnect"){
|
||||
// 点右上角退出/断网(如手机开启飞行模式)/微信切后台/杀掉微信进程
|
||||
$time = strtotime($msg_data['RequestTime']) + 2*60;
|
||||
$time = time() - $msg_data['RequestTime'] + 2*60;
|
||||
if ($time <= 0){
|
||||
$time = 2 * 60;
|
||||
}
|
||||
|
||||
$data = array();
|
||||
$data['user_id'] = $user['user_id'];
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user