mirror of https://github.com/1Panel-dev/1Panel
fix: 解决 Openresty 性能调整保存报错的问题 (#2919)
parent
b904650682
commit
ed3262a07c
|
@ -15,7 +15,7 @@ type NginxScopeReq struct {
|
|||
type NginxConfigUpdate struct {
|
||||
Scope dto.NginxKey `json:"scope"`
|
||||
Operate string `json:"operate" validate:"required,oneof=add update delete"`
|
||||
WebsiteID uint `json:"websiteId" validate:"required"`
|
||||
WebsiteID uint `json:"websiteId"`
|
||||
Params interface{} `json:"params"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue