From 187f70057558e0482e611131882451e0fedaf1cc Mon Sep 17 00:00:00 2001 From: litian <2804272236@qq.com> Date: 星期五, 27 六月 2025 17:13:32 +0800 Subject: [PATCH] xiug --- src/assets/js/weChat/weChat.js | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/assets/js/weChat/weChat.js b/src/assets/js/weChat/weChat.js index ca3c853..602f7c8 100644 --- a/src/assets/js/weChat/weChat.js +++ b/src/assets/js/weChat/weChat.js @@ -10,9 +10,9 @@ // 璋冭捣鎺堟潈锛岃幏鍙朿ode銆傛敞鎰忥細姣忔璋冪敤鏃跺厛娓呴櫎宸插偍瀛樼殑token锛岄伩鍏嶅悗缁烦杞洃鍚埌鏃х殑token锛屼竴鐩�401 const url = window.location.href; const routeCode = url.split("#")[1]; - if (routeCode == '/weChatLogin' || routeCode == '/selectLoginMethod') { + if (routeCode == 'weChatLogin' || routeCode == '/selectLoginMethod') { window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wxAppId}&redirect_uri=${encodeURIComponent( - 'https://www.tepcb.com/mobile/teachingService/#/mine' + 'https://www.tepcb.com/mobile/textbooks/#/personalCenter' )}&response_type=code&scope=snsapi_userinfo&state=${state}`; } else { window.location.href = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${wxAppId}&redirect_uri=${encodeURIComponent( -- Gitblit v1.9.1