From ed3262a07c21c8636139bb2ef04b210ea51dc4ee Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Mon, 13 Nov 2023 11:14:08 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=20Openresty=20?= =?UTF-8?q?=E6=80=A7=E8=83=BD=E8=B0=83=E6=95=B4=E4=BF=9D=E5=AD=98=E6=8A=A5?= =?UTF-8?q?=E9=94=99=E7=9A=84=E9=97=AE=E9=A2=98=20(#2919)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/dto/request/nginx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/dto/request/nginx.go b/backend/app/dto/request/nginx.go index 4dc696d07..2db3027ad 100644 --- a/backend/app/dto/request/nginx.go +++ b/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"` }