|
@@ -47,8 +47,11 @@ Page({
|
|
|
let money = Math.floor((Number(rcsInfo.money || 0) + Number(params.money)) * 100) / 100;
|
|
|
const aee = await app.$post(`/rcs/${rcsInfo._id}`, { money: money });
|
|
|
if (aee.errcode == '0') {
|
|
|
- wx.showToast({ title: `支付成功`, icon: 'success', duration: 2000 });
|
|
|
- that.back()
|
|
|
+ const att = await app.$post(`/payOrder/${arr.data.data._id}`, { status: '1' });
|
|
|
+ if (att.errcode == '0') {
|
|
|
+ wx.showToast({ title: `支付成功`, icon: 'success', duration: 2000 });
|
|
|
+ that.back()
|
|
|
+ }
|
|
|
} else { wx.showToast({ title: `${aee.errmsg}`, icon: 'error', duration: 2000 }) }
|
|
|
},
|
|
|
"fail": function (res) {
|