|
@@ -46,7 +46,7 @@ class AppServer {
|
|
}
|
|
}
|
|
// todo: 检查clientVersion 判断是否应该强制升级
|
|
// todo: 检查clientVersion 判断是否应该强制升级
|
|
|
|
|
|
- if (now() - $req->ts > OFFSET_MSGTIME) { # 如果服务端客户端时间戳超过规定误差,则消息非法
|
|
|
|
|
|
+ if (!Index::$isDebugging && now() - $req->ts > OFFSET_MSGTIME) { # 如果服务端客户端时间戳超过规定误差,则消息非法
|
|
return ErrCode::err_outtime;
|
|
return ErrCode::err_outtime;
|
|
}
|
|
}
|
|
return ErrCode::ok; # 所有检查通过
|
|
return ErrCode::ok; # 所有检查通过
|