From acb0bf2bfd931f57fb540ce798ebef0699cc08a6 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Fri, 10 Nov 2023 16:54:07 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E7=BD=91=E7=AB=99?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E7=AB=99=E7=82=B9=E5=A4=B1?= =?UTF-8?q?=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98=20(#2885)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/dto/request/website.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/app/dto/request/website.go b/backend/app/dto/request/website.go index 3426efedd..283b44d92 100644 --- a/backend/app/dto/request/website.go +++ b/backend/app/dto/request/website.go @@ -148,7 +148,7 @@ type WebsiteLogReq struct { } type WebsiteDefaultUpdate struct { - ID uint `json:"id" validate:"required"` + ID uint `json:"id"` } type WebsitePHPConfigUpdate struct {