Commit cbb901a9 by HanSon

修改退出log位置

1 parent 29f8f59b
......@@ -130,16 +130,16 @@ class MessageHandler
list($retCode, $selector) = $this->sync->checkSync();
if(in_array($retCode, ['1100', '1101'])){ # 微信客户端上登出或者其他设备登录
Console::log('[INFO] 微信客户端正常退出');
if($this->exitHandler){
Console::log('[INFO] 微信客户端正常退出');
call_user_func_array($this->exitHandler, []);
}
break;
}elseif ($retCode == 0){
$this->handlerMessage($selector);
}else{
Console::log('[INFO] 微信客户端异常退出');
if($this->exceptionHandler){
Console::log('[INFO] 微信客户端异常退出');
call_user_func_array($this->exitHandler, []);
}
break;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!