From 5761ba4271200a3baf2333d265175586d87c554d Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 13 九月 2022 11:02:44 +0800 Subject: [PATCH] update druid 1.2.11 => 1.2.12 update hutool 5.8.5 => 5.8.6 update dynamic-ds 3.5.1 => 3.5.2 update aws-java-sdk-s3 1.12.264 => 1.12.300 update aliyun-sms 2.0.16 => 2.0.18 update tencent-sms 3.1.555 => 3.1.591 --- ruoyi-system/src/main/java/com/ruoyi/system/runner/SystemApplicationRunner.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/runner/SystemApplicationRunner.java b/ruoyi-system/src/main/java/com/ruoyi/system/runner/SystemApplicationRunner.java index 20b7412..e9ad6ee 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/runner/SystemApplicationRunner.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/runner/SystemApplicationRunner.java @@ -6,13 +6,17 @@ import com.ruoyi.system.service.ISysOssConfigService; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.ApplicationArguments; import org.springframework.boot.ApplicationRunner; import org.springframework.stereotype.Component; +/** + * 鍒濆鍖� system 妯″潡瀵瑰簲涓氬姟鏁版嵁 + * + * @author Lion Li + */ @Slf4j -@RequiredArgsConstructor(onConstructor_ = @Autowired) +@RequiredArgsConstructor @Component public class SystemApplicationRunner implements ApplicationRunner { @@ -25,7 +29,7 @@ public void run(ApplicationArguments args) throws Exception { ossConfigService.init(); log.info("鍒濆鍖朞SS閰嶇疆鎴愬姛"); - if (ruoyiConfig.isCacheLazy()){ + if (ruoyiConfig.isCacheLazy()) { return; } configService.loadingConfigCache(); -- Gitblit v1.9.3