mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-13 21:53:41 +08:00
fix:不应该通过对象访问静态成员
This commit is contained in:
@@ -25,7 +25,7 @@ public class RedisUtils {
|
||||
|
||||
@PostConstruct
|
||||
public void init() {
|
||||
this.stringRedisTemplate = SpringUtil.getBean(StringRedisTemplate.class);
|
||||
RedisUtils.stringRedisTemplate = SpringUtil.getBean(StringRedisTemplate.class);
|
||||
}
|
||||
|
||||
private static final String LUA_INCR_EXPIRE =
|
||||
|
||||
Reference in New Issue
Block a user