新增备份监控与定时配置
This commit is contained in:
@@ -17,6 +17,14 @@ type UpdateRequest struct {
|
||||
Description string `json:"description"`
|
||||
}
|
||||
|
||||
// BackupScheduleDTO 仅描述调度时间,不包含备份目录、OSS 地址或任何密钥。
|
||||
type BackupScheduleDTO struct {
|
||||
Enabled bool `json:"enabled"`
|
||||
FullHour int `json:"full_hour"`
|
||||
FullMinute int `json:"full_minute"`
|
||||
BinlogIntervalMinutes int `json:"binlog_interval_minutes"`
|
||||
}
|
||||
|
||||
type HomeAnnouncementsDTO struct {
|
||||
Items []string `json:"items"`
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user