mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 02:55:04 +08:00
update 拿到所有数据取出最后一条数据,对比数据变化
This commit is contained in:
@@ -7,6 +7,7 @@ import com.jsowell.common.constant.CacheConstants;
|
||||
import com.jsowell.common.constant.Constants;
|
||||
import com.jsowell.common.core.redis.RedisCache;
|
||||
import com.jsowell.common.enums.AgentDev.AuditStatusEnum;
|
||||
import com.jsowell.common.util.DictUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.common.util.http.HttpUtils;
|
||||
import com.jsowell.common.util.wxplatform.AesException;
|
||||
@@ -283,6 +284,9 @@ public class AgentDevService {
|
||||
// 如果没有,就通过刷新令牌去重新获取
|
||||
String refreshTokenKey = CacheConstants.AUTHORIZER_REFRESH_TOKEN + authAppId;
|
||||
String refreshToken = redisCache.getCacheObject(refreshTokenKey);
|
||||
if (StringUtils.isBlank(refreshToken)) {
|
||||
refreshToken = DictUtils.getDictValue("authorizer_refresh_token", authAppId);
|
||||
}
|
||||
return getAuthTokenByRefreshToken(authAppId, refreshToken);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user