Authored by 郭成尧

Merge branch 'hotfix/paybug' into 'hotfix/uidhandle'

货到付款不能支付



See merge request !1139
... ... @@ -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');
}
... ...