mirror of https://github.com/1Panel-dev/1Panel
fix: 解决网站保存设置报错的问题 (#2864)
parent
adfa021760
commit
70c0602970
|
@ -14,7 +14,7 @@ type NginxScopeReq struct {
|
||||||
|
|
||||||
type NginxConfigUpdate struct {
|
type NginxConfigUpdate struct {
|
||||||
Scope dto.NginxKey `json:"scope"`
|
Scope dto.NginxKey `json:"scope"`
|
||||||
Operate string `json:"operate" validate:"required;oneof=add update delete"`
|
Operate string `json:"operate" validate:"required,oneof=add update delete"`
|
||||||
WebsiteID uint `json:"websiteId" validate:"required"`
|
WebsiteID uint `json:"websiteId" validate:"required"`
|
||||||
Params interface{} `json:"params"`
|
Params interface{} `json:"params"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue