mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-11-02 21:36:59 +08:00
update 优化 oss初始化日志
This commit is contained in:
parent
ae882b8e6b
commit
42b5dd19fa
@ -27,7 +27,6 @@ public class SystemApplicationRunner implements ApplicationRunner {
|
||||
@Override
|
||||
public void run(ApplicationArguments args) throws Exception {
|
||||
ossConfigService.init();
|
||||
log.info("初始化OSS配置成功");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -70,6 +70,8 @@ public class SysOssConfigServiceImpl implements ISysOssConfigService {
|
||||
}
|
||||
if (!hasDefaultConfig) {
|
||||
log.warn("OSS配置初始化未找到启用的默认配置");
|
||||
} else {
|
||||
log.info("初始化OSS配置成功");
|
||||
}
|
||||
} catch (RuntimeException e) {
|
||||
log.error("OSS配置初始化失败", e);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user