Commit 417f709f authored by ben.liu's avatar ben.liu

fix:修改获取验证码

parent 0fe6725e
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -2,7 +2,7 @@ let protocol = window.location.protocol;
let payHost = protocol + '//mapi-qa.liangkebang.net/pay';
let shenceHost = 'https://bn.xyqb.com/sa?project=default'; // 测试地址
let talosHost = 'http://talos-vcc2.liangkebang.net'; // 电商分期测试环境服务地址
let talosHost = 'http://talos-test1.liangkebang.net'; // 电商分期测试环境服务地址
let operatorHost = 'https://operator.liangkebang.com';
const toBHost = 'https://tob.liangkebang.net';
export default { talosHost, operatorHost, payHost, shenceHost, test: true, toBHost };
......@@ -26,8 +26,12 @@ export const goUrlExtends = {
});
}
const returnUrl = this.getReturnUrl();
let isOrder = true;
if (localStorage.get('hideOrder')) {
this.isOrder = false;
}
setTimeout(() => {
if (returnUrl) {
if (returnUrl && isOrder) {
window.location.replace(`${returnUrl}/orderList`);
return;
}
......
......@@ -615,9 +615,13 @@ export default {
},
/* 忘记密码 */
retrieveLink() {
let url = `${this.creditPayInfo.forgetPwdJumpUrl}&vccChannel=${VCC_CHANNEL}&redirectUrl=${window.location.href}`;
const { orderNo, hideOrder, returnUrl } = this.$route.query || {};
const redirectUrl = `${window.location.origin}${window.location.pathname}?orderNo=${orderNo}&hideOrder=${hideOrder}&returnUrl=${returnUrl}`;
console.log(VCC_CHANNEL);
let url = `${this.creditPayInfo.forgetPwdJumpUrl}&vccChannel=${VCC_CHANNEL}&redirectUrl=${redirectUrl}`;
url = url.replace('{token}', localStorage.get('vccToken'));
window.location.href = url;
console.log(url);
// window.location.href = url;
},
getObjectKey(obj) {
return Object.keys(obj);
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment