From f520aa84414612dbb2b02aa98fe51fdc70bb5218 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 20 Aug 2024 22:26:39 +0800 Subject: [PATCH] 1 --- app/hdl/hdl_wx_open.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/hdl/hdl_wx_open.go b/app/hdl/hdl_wx_open.go index b2728fd..1b1865a 100644 --- a/app/hdl/hdl_wx_open.go +++ b/app/hdl/hdl_wx_open.go @@ -169,7 +169,7 @@ func GetPreAuthCode(c *gin.Context) { authURL := baseURL + "?" + query.Encode() // 设置JavaScript重定向 -t ad c.Header("Content-Type", "text/html") //TODO::必须指定相应内容为 text/html, 否则浏览器不能正确解析 + c.Header("Content-Type", "text/html") //TODO::必须指定相应内容为 text/html, 否则浏览器不能正确解析 c.String(200, `