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

This commit is contained in:
zhengkunwang
2023-11-13 03:14:08 +00:00
committed by GitHub
parent b904650682
commit ed3262a07c
+1 -1
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"`
}