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

feat(#419): 面板自动更新

This commit is contained in:
耗子
2025-01-02 19:00:19 +08:00
parent 813a8f42cf
commit 5dc14ef1bb
7 changed files with 78 additions and 23 deletions

View File

@@ -5,6 +5,7 @@ type PanelSetting struct {
Locale string `json:"locale" validate:"required"`
Entrance string `json:"entrance" validate:"required"`
OfflineMode bool `json:"offline_mode"`
AutoUpdate bool `json:"auto_update"`
WebsitePath string `json:"website_path" validate:"required"`
BackupPath string `json:"backup_path" validate:"required"`
Username string `json:"username" validate:"required"`