fix: 本地备份

This commit is contained in:
耗子
2026-01-24 19:24:50 +08:00
parent b01f04e6b5
commit 8d111bd059
+1 -1
View File
@@ -9,7 +9,7 @@ type BackupList struct {
type BackupCreate struct {
Type string `uri:"type" form:"type" validate:"required|in:website,mysql,postgres,redis,panel"`
Target string `json:"target" form:"target" validate:"required|regex:^[a-zA-Z0-9_-]+$"`
Storage uint `form:"storage" json:"storage" validate:"required|exists:backup_storages,id"`
Storage uint `form:"storage" json:"storage"`
}
type BackupUpload struct {