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

This commit is contained in:
wangyu 2021-12-22 20:20:10 +08:00
parent 3d617679cd
commit c2ac1f88d8

View File

@ -60,7 +60,7 @@ public class BackupScheduler {
}
@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)) {
this.backupPath = backupPath;
}