| | |
| | | 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_scorer%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( |