From 93221c76e601c7a869c2be9558efdfa7009ac1a7 Mon Sep 17 00:00:00 2001 From: tcubic <123456> Date: Mon, 8 Aug 2022 17:55:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Home/Home.vue | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/page/Home/Home.vue b/src/page/Home/Home.vue index 1a4cdb1..48616ab 100644 --- a/src/page/Home/Home.vue +++ b/src/page/Home/Home.vue @@ -238,8 +238,7 @@ const getCode2 = () => { const wxAuthGetCode = () => { var appId = "wx35766a64d73d08a9"; 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=SCOPE&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 // .post(process.env.VUE_APP_API + "/cms-activity/cms88/zsApi/xfhdAuthorize", {