h5登录
This commit is contained in:
+5
-5
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user