@Component public class RedisCacheUtil extends Object
| Constructor and Description |
|---|
RedisCacheUtil() |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
将当前对象赋值给静态对象,调用spring组件: redisCacheUtil.redisTemplate.xxx()
|
@PostConstruct public void init()
Copyright © 2019. All rights reserved.