2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:47:20 +08:00

fix: 本地备份

This commit is contained in:
2026-01-24 19:24:50 +08:00
parent b01f04e6b5
commit 8d111bd059

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 {