Commit 96232266 authored by 潘永坪's avatar 潘永坪

支付逻辑修改

parent dc80db9e
...@@ -161,6 +161,10 @@ export default { ...@@ -161,6 +161,10 @@ export default {
}) })
this.$request('orderc/order/findOrderInfo', data).then(res => { this.$request('orderc/order/findOrderInfo', data).then(res => {
if (res.code == '00') { if (res.code == '00') {
this.errorMessage1 = res.data.errorMessage
if(this.errorMessage1){
return
}
if(this.albumOrderdetail==1){ if(this.albumOrderdetail==1){
//主要跳转影集订单详情,暂时是前端写死 //主要跳转影集订单详情,暂时是前端写死
this.afterBuyUrl='/pages/album/albumOrderdetail/albumOrderdetail' this.afterBuyUrl='/pages/album/albumOrderdetail/albumOrderdetail'
...@@ -185,7 +189,6 @@ export default { ...@@ -185,7 +189,6 @@ export default {
url: '/pages/payment/paySuccess/paySuccess?orderId=' + this.orderId+'&afterBuyUrl=' + this.afterBuyUrl url: '/pages/payment/paySuccess/paySuccess?orderId=' + this.orderId+'&afterBuyUrl=' + this.afterBuyUrl
}) })
} }
this.errorMessage1 = res.data.errorMessage
this.totalMoney = res.data.totalMoney this.totalMoney = res.data.totalMoney
this.orderList = res.data.orderList||[] this.orderList = res.data.orderList||[]
if (this.orderList.length==0||res.data.orderPageShowFlag==0) { if (this.orderList.length==0||res.data.orderPageShowFlag==0) {
......
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