update 请求令牌方法

This commit is contained in:
Lemon
2025-01-02 13:48:36 +08:00
parent 24528b8699
commit 2bb574ebec
2 changed files with 2 additions and 2 deletions

View File

@@ -446,7 +446,7 @@ public interface ThirdPartyPlatformService extends InitializingBean {
String dataSecretIv, String signSecret, String dataSecret) {
String token = "";
// 先查询缓存有没有token
String tokenKey = CacheConstants.THIRD_PARTY_TOKEN_BY_OPERATOR_ID + operatorId;
String tokenKey = CacheConstants.THIRD_PARTY_TOKEN_BY_OPERATOR_SECRET + operatorSecret;
RedisCache redisCache = BeanUtils.getBean(RedisCache.class);
String cacheToken = redisCache.getCacheObject(tokenKey);
if (StringUtils.isNotBlank(cacheToken)) {