This commit is contained in:
zoujiandong
2025-06-17 14:11:33 +08:00
parent f0e9803e5d
commit b0eb163c21
33 changed files with 85 additions and 86 deletions
+5 -5
View File
@@ -93,11 +93,11 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
e(res)
} else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
if(process.env.UNI_PLATFORM =="h5"){
// let H5url = 'https://dev-wx.igandan.com';
// if (window.location.href.indexOf('//dev-casedata.igandan.com') == -1) {
// H5url = 'https://dev-wx.igandan.com'
// }
// window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
let H5url = 'https://dev-wx.igandan.com';
if (window.location.href.indexOf('//dev-casedata.igandan.com') == -1) {
H5url = 'https://wx.igandan.com'
}
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
}else{
let freeList = ['/login/wechat/mobile', '/code/phone', '/login/mobile_login', '/index', '/user/check'];
if (freeList.indexOf(url) == -1) {