...
|
...
|
@@ -381,7 +381,8 @@ class payModel extends global.yoho.BaseModel { |
|
|
return Promise.all([
|
|
|
this._getBanner(param),
|
|
|
this._getOthersBuy(param),
|
|
|
this.getOtherDetail(param)
|
|
|
this.getOtherDetail(param),
|
|
|
this.getPayResultText(param)
|
|
|
]).then((result) => {
|
|
|
|
|
|
let resu = {
|
...
|
...
|
@@ -405,7 +406,7 @@ class payModel extends global.yoho.BaseModel { |
|
|
}
|
|
|
|
|
|
if (result && result[2] && result[2].data && result[2].data.payment_amount) {
|
|
|
resu.packageTitle = _.get(result[2], 'data.package_title', '');
|
|
|
resu.packageTitle = _.get(result[3], 'data.notice', '');
|
|
|
|
|
|
resu.payment = result[2].data.payment_amount;
|
|
|
|
...
|
...
|
@@ -430,6 +431,19 @@ class payModel extends global.yoho.BaseModel { |
|
|
return resu;
|
|
|
});
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
* 获取支付结果信息
|
|
|
*/
|
|
|
getPayResultText(params) {
|
|
|
return this.get({
|
|
|
data: {
|
|
|
method: 'app.SpaceOrders.getOrderExNotice',
|
|
|
order_code: params.orderCode,
|
|
|
uid: params.uid
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
}
|
|
|
|
|
|
module.exports = payModel; |
...
|
...
|
|