|
@@ -9,6 +9,7 @@ import cn.newfeifan.mall.module.system.controller.admin.config.vo.ConfigSaveReqV
|
|
|
import cn.newfeifan.mall.module.system.dal.dataobject.config.SystemConfigDO;
|
|
|
import cn.newfeifan.mall.module.system.dal.mysql.config.SystemConfigMapper;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
+import org.springframework.context.annotation.Lazy;
|
|
|
import org.springframework.data.redis.core.StringRedisTemplate;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
import org.springframework.validation.annotation.Validated;
|
|
@@ -34,6 +35,7 @@ public class SystemConfigServiceImpl implements SystemConfigService {
|
|
|
@Resource
|
|
|
private StringRedisTemplate stringRedisTemplate;
|
|
|
@Resource
|
|
|
+ @Lazy
|
|
|
private StartConfig startConfig;
|
|
|
|
|
|
@Override
|