...
|
...
|
@@ -54,8 +54,9 @@ const payCenter = (req, res, next) => { |
|
|
});
|
|
|
|
|
|
let attribute = _.parseInt(_.get(orderDetail, 'attribute'));
|
|
|
let paymentType = _.parseInt(_.get(orderDetail, 'payment_type')); // 支付类型,2 为货到付款
|
|
|
|
|
|
if (attribute === 9 || attribute === 11) {
|
|
|
if (attribute === 9 || attribute === 11 || paymentType === 2) {
|
|
|
return res.redirect('/home/orders');
|
|
|
}
|
|
|
|
...
|
...
|
|