fix: 解决 Openresty 性能调整保存报错的问题 (#2919)

This commit is contained in:
zhengkunwang 2023-11-13 11:14:08 +08:00 committed by GitHub
parent b904650682
commit ed3262a07c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`
}