Skip to content

Commit

Permalink
fix: 解决 Openresty 性能调整保存报错的问题 (#2919)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengkunwang223 committed Nov 13, 2023
1 parent b904650 commit ed3262a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app/dto/request/nginx.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
}

Expand Down

0 comments on commit ed3262a

Please sign in to comment.