Commit f090f2c8 authored by gaodapeng's avatar gaodapeng

增加支付失败原因的内容

parent 88796292
...@@ -274,6 +274,7 @@ Page({ ...@@ -274,6 +274,7 @@ Page({
context.setData({ context.setData({
isPaySuccess: false, isPaySuccess: false,
payFailedReason: res.data.message
}); });
context.goPage('payresult'); context.goPage('payresult');
...@@ -943,7 +944,7 @@ Page({ ...@@ -943,7 +944,7 @@ Page({
}) })
pricetemp = this.fen2Yuan(pricetemp) pricetemp = this.fen2Yuan(pricetemp)
if(pricetemp < this.data.discCouponPrice){ if (pricetemp < this.data.discCouponPrice) {
this.setData({ discCouponPrice: 0 }) this.setData({ discCouponPrice: 0 })
} }
this.setData({ totalQuantity: quantitytemp, totalPrice: pricetemp }) this.setData({ totalQuantity: quantitytemp, totalPrice: pricetemp })
......
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