|
@@ -57,8 +57,8 @@ public class WeChatUtil {
|
|
|
.append("?appid=")
|
|
|
.append(wxPayProperties.getMpAppId())
|
|
|
.append("&redirect_uri=")
|
|
|
-// .append(URLEncoder.encode(wxPayProperties.getRedirectUrl(), "UTF-8"))
|
|
|
- .append(URLEncoder.encode("https://test.baoxianzhanggui.com/fragrance/#/pages/my/wxLogin", "UTF-8"))
|
|
|
+ .append(URLEncoder.encode(wxPayProperties.getRedirectUrl(), "UTF-8"))
|
|
|
+// .append(URLEncoder.encode("https://test.baoxianzhanggui.com/fragrance/#/pages/my/wxLogin", "UTF-8"))
|
|
|
.append("&response_type=code&scope=snsapi_userinfo&state=")
|
|
|
.append("STATE")
|
|
|
.append("#wechat_redirect");
|