From 96cd6c4657ac4d5e175a58bb92da7302e435b066 Mon Sep 17 00:00:00 2001
From: zhaoxiaoqiang <287285524@qq.com>
Date: Mon, 14 Nov 2022 09:15:05 +0800
Subject: [PATCH] v-console

---
 src/utils/wechat.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/utils/wechat.js b/src/utils/wechat.js
index f07446b..e46bb08 100644
--- a/src/utils/wechat.js
+++ b/src/utils/wechat.js
@@ -19,7 +19,7 @@
 //         var url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appid}&redirect_uri=${redirect_uri}&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect`
         
 //         // 判断用户是否已经授权
-//         if(window.localStorage.edu_ins_client_openId == 'undefined' || !localStorage.edu_ins_client_openId){
+//         if(window.localStorage.axx_ins_client_openId == 'undefined' || !localStorage.axx_ins_client_openId){
 //             window.location.href = url
 //             // 在回调页面去获取到授权返回的code,并且传递给后端
 //         }
@@ -33,7 +33,7 @@
             // 拼接微信授权页面链接
             var url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${this.appid}&redirect_uri=${this.redirect_uri}&response_type=code&scope=snsapi_userinfo&state=1#wechat_redirect`
              // 判断用户是否已经授权
-            if(window.localStorage.edu_ins_client_openId == 'undefined' || !localStorage.edu_ins_client_openId){
+            if(window.localStorage.axx_ins_client_openId == 'undefined' || !localStorage.axx_ins_client_openId){
                 window.location.href = url
                 // 在回调页面去获取到授权返回的code,并且传递给后端
             }

--
Gitblit v1.8.0