Authored by 陈峰

移除支付开关

... ... @@ -39,9 +39,9 @@ const payCenter = (req, res, next) => {
}
// 如果支付开关关闭,走老版本的支付
if (!req.app.locals.devEnv && _.get(req.app.locals.wap, 'pay.newPay', false) === false) {
return res.redirect(302, helpers.urlFormat('/home/orders/pay', {order_code: orderCode}));
}
// if (!req.app.locals.devEnv && _.get(req.app.locals.wap, 'pay.newPay', false) === false) {
// return res.redirect(302, helpers.urlFormat('/home/orders/pay', {order_code: orderCode}));
// }
if (sessionKey) {
sessionKey = sessionKey.substr(0, sessionKey.length - 8);
... ...