|
@@ -6,6 +6,7 @@ import cn.newfeifan.mall.module.system.dal.dataobject.wechatmsgtemplate.WechatMs
|
|
|
import cn.newfeifan.mall.module.system.service.config.SystemConfigService;
|
|
|
import cn.newfeifan.mall.module.system.service.wechatmsgtemplate.WechatMsgTemplateService;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -28,6 +29,7 @@ public class StartConfig {
|
|
|
private StringRedisTemplate stringRedisTemplate;
|
|
|
|
|
|
@Resource
|
|
|
+ @Lazy
|
|
|
private WechatMsgTemplateService wechatMsgTemplateService;
|
|
|
|
|
|
@Resource
|