publish 2.0.0.rc38
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package com.tiesheng.util.service.cache;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.data.redis.core.RedisTemplate;
|
||||
@@ -13,7 +14,7 @@ import java.util.concurrent.TimeUnit;
|
||||
@ConditionalOnProperty("spring.redis.url")
|
||||
public class TsCacheRedisHandler implements TsCacheHandler {
|
||||
|
||||
@Resource
|
||||
@Autowired
|
||||
RedisTemplate<String, String> redisTemplate;
|
||||
|
||||
|
||||
|
||||
@@ -30,4 +30,12 @@ public interface TsAuthorityHandler {
|
||||
*/
|
||||
List<String> getAuthorities(TokenBean tokenBean);
|
||||
|
||||
|
||||
/**
|
||||
* 创建结束后
|
||||
*
|
||||
* @param version
|
||||
*/
|
||||
void onCreateAfter(String version);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user