This commit is contained in:
tcubic 2022-08-08 18:06:38 +08:00
parent 3546401ffc
commit 4bf9082409

View File

@ -236,8 +236,13 @@ const getCode2 = () => {
}; };
const wxAuthGetCode = () => { const wxAuthGetCode = () => {
var appId = "wx35766a64d73d08a9";
var REDIRECT_URI = 'https://test.szxgl.cn/zszq-celebration/activity/index.html'; // var appId = "wx35766a64d73d08a9";
var appId = "wx41d80a1bb01f658d";
var REDIRECT_URI = window.location.href;
window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+ appId +'&redirect_uri='+ REDIRECT_URI +'&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect'; window.location.href = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='+ appId +'&redirect_uri='+ REDIRECT_URI +'&response_type=code&scope=snsapi_base&state=STATE#wechat_redirect';
// service // service