update 优化 oss初始化日志

This commit is contained in:
疯狂的狮子Li 2026-11-02 14:21:23 +08:00
parent ae882b8e6b
commit 42b5dd19fa
2 changed files with 2 additions and 1 deletions

View File

@ -27,7 +27,6 @@ public class SystemApplicationRunner implements ApplicationRunner {
@Override
public void run(ApplicationArguments args) throws Exception {
ossConfigService.init();
log.info("初始化OSS配置成功");
}
}

View File

@ -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);