Authored by 陈峰

移除支付开关

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