Commit 053e8f3f authored by gaodapeng's avatar gaodapeng

修改直接收款的流程

parent 9e2ee8a4
...@@ -81,23 +81,9 @@ Page({ ...@@ -81,23 +81,9 @@ Page({
}); });
} else if (res.action == ACTION_DIRECT_PAYMENT) { } else if (res.action == ACTION_DIRECT_PAYMENT) {
//直接收款 //直接收款
my.ix.sendBuddyMessage({
target: getApp().globalData.backScreenAppId,
data: {
action: ACTION_DIRECT_PAYMENT,
data: res.data
},
success: (sres) => {
console.log("通知后屏小程序跳转到结算页面 成功 ===》" + JSON.stringify(sres));
//去结算页面
my.reLaunch({ my.reLaunch({
url: "/pages/balance/balance?totalPrice=" + res.data + "&totalQuantity=0&totalDisc=0", url: "/pages/balance/balance?totalPrice=" + res.data + "&totalQuantity=0&totalDisc=0",
}); });
},
fail: (fres) => {
console.log("通知后屏小程序跳转到结算页面 失败 ===》 " + JSON.stringify(fres));
}
})
} else if (res.action == ACTION_CONVERT_COUPON) { } else if (res.action == ACTION_CONVERT_COUPON) {
//兑换券 //兑换券
context.setData({ context.setData({
......
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