Commit ae4ea9d3 by 111-PC\111

[+]代码修改

1 parent 0d3b851d
......@@ -56,7 +56,7 @@ public class AccessTokenService {
String access_Token = null;
AccessToken accessToken = accessTokenRedis.readCache(Constants.ACCESSTOKEN_REDISKEY);
if (null != accessToken) {
if ((accessToken.getExpire_time() - System.currentTimeMillis()) >= 1000 * 60 * 60 * 2) {
if ((System.currentTimeMillis()-accessToken.getExpire_time()) >= 1000 * 60 * 60 * 2) {
ResponseBody responseBody = sendRequestFlashToken(accessToken.getRefresh_token());
if (responseBody != null && responseBody.isSuccess()) {
String result = responseBody.getResult();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!