🐛 修复循环依赖 BUG

This commit is contained in:
zhaojun1998
2020-01-25 18:00:38 +08:00
parent 3f241d129a
commit 21a64ec0f3

View File

@@ -1,5 +1,6 @@
package im.zhaojun.common.service;
import org.springframework.context.annotation.Lazy;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@@ -15,6 +16,7 @@ public class FileCacheService {
private SystemConfigService systemConfigService;
@Resource
@Lazy
private FileAsyncCacheService fileAsyncCacheService;
public void enableCache() {