|
@@ -23,7 +23,7 @@ public class AuthIotService {
|
|
|
/**
|
|
|
* 存放token
|
|
|
*/
|
|
|
- private static final String REDIS_TOKEN_KEY = "iot:token:%s";
|
|
|
+ private static final String REDIS_TOKEN_KEY = "sync:token:%s";
|
|
|
|
|
|
@Autowired
|
|
|
protected AuthConfig authConfig;
|
|
@@ -54,7 +54,7 @@ public class AuthIotService {
|
|
|
if (skipCache) {
|
|
|
return this.getIotToken();
|
|
|
}
|
|
|
- token = getCacheToken();
|
|
|
+ token = this.getCacheToken();
|
|
|
if (StringUtils.isEmpty(token)) {
|
|
|
token = this.getIotToken();
|
|
|
}
|