Browse Source

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

pull/2920/head
zhengkunwang 1 year ago committed by GitHub
parent
commit
ed3262a07c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      backend/app/dto/request/nginx.go

2
backend/app/dto/request/nginx.go

@ -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…
Cancel
Save