|
@@ -101,7 +101,7 @@ public class RefreshMdsTask {
|
|
|
JSONObject token = jsonObjec.getJSONObject("data");
|
|
|
if (token != null && StringUtils.isNotEmpty(token.getString("mds"))){
|
|
|
redisCache.deleteKey(Constants.GPS_LOGIN_INFO_PREFIX);
|
|
|
- redisCache.setCacheObject(Constants.GPS_LOGIN_INFO_PREFIX, token.toJSONString(), Constants.GPS_TOKEN_EXPIRATION, TimeUnit.MINUTES);
|
|
|
+ redisCache.setCacheObject(Constants.GPS_LOGIN_INFO_PREFIX, token.toJSONString());
|
|
|
redisCache.deleteKey(Constants.GPS_TOKEN_PREFIX);
|
|
|
redisCache.setCacheObject(Constants.GPS_TOKEN_PREFIX, token.getString("mds"), Constants.GPS_TOKEN_EXPIRATION, TimeUnit.MINUTES);
|
|
|
}else {
|