feat:实现相当牛逼的链式反应
This commit is contained in:
parent
3d617679cd
commit
c2ac1f88d8
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user