From d7d18c5157f22608f0828ab48ea752ebfe32427b Mon Sep 17 00:00:00 2001 From: wantoper <305986045@qq.com> Date: Fri, 30 May 2025 12:10:31 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E8=B0=83=E6=95=B4=E3=80=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E6=9F=90=E4=BA=9B=E4=BE=9B=E5=BA=94=E5=95=86=E7=9A=84?= =?UTF-8?q?=E7=BD=91=E7=AB=99=E5=88=97=E8=A1=A8=E8=BF=94=E5=9B=9E=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/app/api/access.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/backend/app/api/access.go b/backend/app/api/access.go index 2e32c41..57df618 100644 --- a/backend/app/api/access.go +++ b/backend/app/api/access.go @@ -5,7 +5,6 @@ import ( "ALLinSSL/backend/internal/access" "ALLinSSL/backend/internal/cert/deploy" "ALLinSSL/backend/public" - "fmt" "github.com/gin-gonic/gin" "strings" ) @@ -366,7 +365,7 @@ func GetSiteList(c *gin.Context) { } if err != nil { - public.FailMsg(c, fmt.Sprintf("获取网站列表失败%v", err)) + public.SuccessData(c, siteList, len(siteList)) return }