From 427bd60f5d568a235703e2c54498d8f57724ffe7 Mon Sep 17 00:00:00 2001 From: zhouhao <787329763@qq.com> Date: Thu, 04 Nov 2021 18:01:02 +0800 Subject: [PATCH] 11 --- src/views/main/product.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/views/main/product.vue b/src/views/main/product.vue index 685f62e..e6c4ba0 100644 --- a/src/views/main/product.vue +++ b/src/views/main/product.vue @@ -96,7 +96,7 @@ alert("openId:" + openId); alert("codeId:" + codeId); if (codeId == undefined) { - var strUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + "wx594ab33e0466eccf" + "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scoreo%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect"; + var strUrl = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=" + "wx594ab33e0466eccf" + "&redirect_uri=" + "https%3a%2f%2fsie.jycash.cn%2fsib_wx_scoreq%2f%23%2f" + "&response_type=code&scope=snsapi_userinfo" + "#wechat_redirect"; window.location.href = strUrl; } else if (openId == undefined) { this.$api.getWeChatUserInfo({ code: codeId }).then( -- Gitblit v1.8.0