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

feat: 优化部署模版

This commit is contained in:
2026-01-23 05:39:57 +08:00
parent c699c96e6c
commit 7f2c693735
3 changed files with 12 additions and 12 deletions

View File

@@ -21,7 +21,7 @@ type Template struct {
Description string `json:"description"` // 变量描述
Type string `json:"type"` // 变量类型, text, password, number, port, select
Options map[string]string `json:"options,omitempty"` // 下拉框选项key -> value
Default any `json:"default"` // 默认值string or number
Default any `json:"default,omitempty"` // 默认值string or number
} `json:"environments"`
}