From e279362b85684542c36aa8976c1b960d3a375b90 Mon Sep 17 00:00:00 2001 From: zhengkunwang <31820853+zhengkunwang223@users.noreply.github.com> Date: Wed, 8 Nov 2023 10:39:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A7=A3=E5=86=B3=E5=8F=8D=E4=BB=A3?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20(#2845)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/dto/request/website.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/app/dto/request/website.go b/backend/app/dto/request/website.go index 90ae19693..3426efedd 100644 --- a/backend/app/dto/request/website.go +++ b/backend/app/dto/request/website.go @@ -187,8 +187,8 @@ type WebsiteProxyConfig struct { Operate string `json:"operate" validate:"required"` Enable bool `json:"enable" ` Cache bool `json:"cache" ` - CacheTime int `json:"cacheTime" validate:"required"` - CacheUnit string `json:"cacheUnit" validate:"required"` + CacheTime int `json:"cacheTime" ` + CacheUnit string `json:"cacheUnit"` Name string `json:"name" validate:"required"` Modifier string `json:"modifier" validate:"required"` Match string `json:"match" validate:"required"`