命令行提交3
This commit is contained in:
parent
e83260c6ff
commit
86eb7d47e0
File diff suppressed because one or more lines are too long
@ -87,14 +87,15 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
|
|||||||
title: res.data.message,
|
title: res.data.message,
|
||||||
icon: "none"
|
icon: "none"
|
||||||
});
|
});
|
||||||
|
n(res);
|
||||||
} else {
|
} else {
|
||||||
|
e(res);
|
||||||
let H5url = "https://dev-wx.igandan.com";
|
let H5url = "https://dev-wx.igandan.com";
|
||||||
if (window.location.href.indexOf("//dev-casedata.igandan.com") == -1) {
|
if (window.location.href.indexOf("//dev-casedata.igandan.com") == -1) {
|
||||||
H5url = "https://wx.igandan.com";
|
H5url = "https://wx.igandan.com";
|
||||||
}
|
}
|
||||||
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
|
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
|
||||||
}
|
}
|
||||||
n(res);
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: function(err) {
|
fail: function(err) {
|
||||||
|
|||||||
@ -182,7 +182,9 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
|||||||
icon: 'none',
|
icon: 'none',
|
||||||
|
|
||||||
})
|
})
|
||||||
|
n(res)
|
||||||
}else{
|
}else{
|
||||||
|
e(res)
|
||||||
let H5url = 'https://dev-wx.igandan.com';
|
let H5url = 'https://dev-wx.igandan.com';
|
||||||
if(window.location.href.indexOf('//dev-casedata.igandan.com') == -1) {
|
if(window.location.href.indexOf('//dev-casedata.igandan.com') == -1) {
|
||||||
H5url = 'https://wx.igandan.com'
|
H5url = 'https://wx.igandan.com'
|
||||||
@ -190,7 +192,7 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
|||||||
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
|
window.location.href = H5url + "/hcp/Signup2020online_tologin?back_url=" + encodeURIComponent(window.location.href);
|
||||||
}
|
}
|
||||||
|
|
||||||
n(res)
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: function (err) {
|
fail: function (err) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user