|
|
|
@ -83,7 +83,7 @@ public class LocalServerLoginAccountsInterceptor extends HandlerInterceptorAdapt
|
|
|
|
|
// 验证时间 不能大于5秒
|
|
|
|
|
if (StringUtil.isNotBlank(authTime)) { |
|
|
|
|
long authTimeLong = Long.parseLong(authTime); |
|
|
|
|
if (secondTimestamp - authTimeLong > 5) { |
|
|
|
|
if (secondTimestamp - authTimeLong > suoFeiYaProperties.getAuthTime()) { |
|
|
|
|
returnJson(response, JSONObject.toJSONString(R.fail(1, "认证不通过,时间戳过期"))); |
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|