Showing
4 changed files
with
5 additions
and
4 deletions
@@ -76,7 +76,8 @@ const _getFilterUrl = url => { | @@ -76,7 +76,8 @@ const _getFilterUrl = url => { | ||
76 | 76 | ||
77 | if (strrpos(url, 'm.yohobuy.com') && !strrpos(url, 'sale.m.yohobuy.com') && !strrpos(url, 'cuxiao.m.yohobuy.com') && | 77 | if (strrpos(url, 'm.yohobuy.com') && !strrpos(url, 'sale.m.yohobuy.com') && !strrpos(url, 'cuxiao.m.yohobuy.com') && |
78 | !strrpos(url, 'activity.m.yohobuy.com') && !strrpos(url, 'huodong.m.yohobuy.com') && | 78 | !strrpos(url, 'activity.m.yohobuy.com') && !strrpos(url, 'huodong.m.yohobuy.com') && |
79 | - strrpos(url, 'cdn.yoho.cn/myohobuy') && !strrpos(url, '/home/orders/pay')) { | 79 | + strrpos(url, 'cdn.yoho.cn/myohobuy') && !strrpos(url, '/home/orders/pay') && |
80 | + !strrpos(url, '/home/orders/paynew')) { | ||
80 | url = url.replace('http://', '//'); | 81 | url = url.replace('http://', '//'); |
81 | } | 82 | } |
82 | 83 |
@@ -233,7 +233,7 @@ const _getOrderStatus = (order, showLogistics) => { | @@ -233,7 +233,7 @@ const _getOrderStatus = (order, showLogistics) => { | ||
233 | /* 待付款 */ | 233 | /* 待付款 */ |
234 | Object.assign(result, { | 234 | Object.assign(result, { |
235 | unpaid: true, | 235 | unpaid: true, |
236 | - payUrl: helpers.urlFormat('/home/orders/pay', {order_code: order.order_code}) | 236 | + payUrl: helpers.urlFormat('/home/orders/paynew', {order_code: order.order_code}) |
237 | }); | 237 | }); |
238 | break; | 238 | break; |
239 | case 1: | 239 | case 1: |
@@ -538,7 +538,7 @@ function ticketsConfirm() { | @@ -538,7 +538,7 @@ function ticketsConfirm() { | ||
538 | 538 | ||
539 | //下单成功调整支付页面 | 539 | //下单成功调整支付页面 |
540 | if (ticket.code === 200) { | 540 | if (ticket.code === 200) { |
541 | - window.location.href = '/home/orders/pay?order_code=' + ticket.data.order_code | 541 | + window.location.href = '/home/orders/paynew?order_code=' + ticket.data.order_code |
542 | } else { | 542 | } else { |
543 | tip.show(ticket.message); | 543 | tip.show(ticket.message); |
544 | } | 544 | } |
@@ -299,7 +299,7 @@ function submitOrder() { | @@ -299,7 +299,7 @@ function submitOrder() { | ||
299 | if (res.data.payment_status || (payType === 2)) { | 299 | if (res.data.payment_status || (payType === 2)) { |
300 | url = '/home/orderDetail?order_code=' + res.data.order_code; | 300 | url = '/home/orderDetail?order_code=' + res.data.order_code; |
301 | } else { | 301 | } else { |
302 | - url = '/home/orders/pay?order_code=' + res.data.order_code; | 302 | + url = '/home/orders/paynew?order_code=' + res.data.order_code; |
303 | } | 303 | } |
304 | cookie.set('order-info', '', actCkOpthn); | 304 | cookie.set('order-info', '', actCkOpthn); |
305 | window.location.href = url; | 305 | window.location.href = url; |
-
Please register or login to post a comment