From 2b435053c486c9fc19c2ee571a950cb8fb18d000 Mon Sep 17 00:00:00 2001 From: zhangyasong Date: Thu, 24 Mar 2022 15:54:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9token=E9=AA=8C=E8=AF=81?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/handler/proxyhandler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler/proxyhandler.go b/src/handler/proxyhandler.go index 6a8c930..ff07ba6 100644 --- a/src/handler/proxyhandler.go +++ b/src/handler/proxyhandler.go @@ -59,12 +59,12 @@ func Proxy(c *gin.Context) { fmt.Println("apaasToken:", apaasToken) if apaasToken == "" { - c.JSON(403, "Get Authorization Token failed") + c.JSON(403, "请输入token值") return } if proxyData.ApaasToken != apaasToken { - c.JSON(403, "invalid Authorization Token") + c.JSON(403, "输入的token值错误") return } } -- 2.26.0