...
|
...
|
@@ -622,14 +622,14 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
let operation = {};
|
|
|
|
|
|
// 立刻付款
|
|
|
if (_.indexOf(links, 'buyNow') > -1) {
|
|
|
if (_.includes(links, 'buyNow') > -1) {
|
|
|
Object.assign(operation, {
|
|
|
goPay: helpers.urlFormat('/shopping/newpay', {ordercode: orderId})
|
|
|
});
|
|
|
}
|
|
|
|
|
|
// 取消订单
|
|
|
if (_.indexOf(links, 'closeOrder') > -1) {
|
|
|
if (_.includes(links, 'closeOrder') > -1) {
|
|
|
Object.assign(operation, {
|
|
|
cancelOrder: true
|
|
|
});
|
...
|
...
|
|