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 }