mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 06:47:20 +08:00
fix: 本地备份
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user