This commit is contained in:
tcubic 2022-08-08 17:59:53 +08:00
parent 93221c76e6
commit 3546401ffc

View File

@ -237,7 +237,7 @@ const getCode2 = () => {
const wxAuthGetCode = () => {
var appId = "wx35766a64d73d08a9";
var REDIRECT_URI = window.location.href;
var REDIRECT_URI = 'https://test.szxgl.cn/zszq-celebration/activity/index.html';
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