From 7588991d547ee56465a38689d07da5bfda1e152d Mon Sep 17 00:00:00 2001 From: wolter Date: Fri, 6 Dec 2024 15:51:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/services/wecaht.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/services/wecaht.go b/app/services/wecaht.go index 388831e..945d7f4 100644 --- a/app/services/wecaht.go +++ b/app/services/wecaht.go @@ -46,7 +46,7 @@ func GetWxAuthUrl(param front.GetWxAuthUrlRequest) (targetUrl string, code int) responseType := "code" scope := "snsapi_base" - targetUrl = baseUrl + "?appid=" + appid + "&redirect_uri=" + redirectUri + "&response_type=" + responseType + "&scope=" + scope + "#wechat_redirect" + targetUrl = baseUrl + "?appid=" + appid + "&redirect_uri=" + redirectUri + "&response_type=" + responseType + "&scope=" + scope + "&state=" + param.PayChannelId + "#wechat_redirect" return }