@@ -66,9 +66,9 @@ public class ResourceSeverConfig extends ResourceServerConfigurerAdapter {
@Bean
public TokenStore tokenStore() {
// 存入数据库
- return new JdbcTokenStore(dataSource);
+// return new JdbcTokenStore(dataSource);
// 存入redis
-// return new RedisTokenStore(redisConnectionFactory);
+ return new RedisTokenStore(redisConnectionFactory);
}
/**