feat:实现相当牛逼的链式反应

This commit is contained in:
wangyu 2021-12-22 20:20:10 +08:00
parent 3d617679cd
commit c2ac1f88d8
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ public class BackupScheduler {
} }
@Autowired @Autowired
public void setBackupPath(@Value("${flyfish.backup.path}") String backupPath) { public void setBackupPath(@Value("${flyfish.backup.path:/opt/flyfish/backup}") String backupPath) {
if (StringUtils.isNotBlank(backupPath)) { if (StringUtils.isNotBlank(backupPath)) {
this.backupPath = backupPath; this.backupPath = backupPath;
} }