Authored by 郭成尧

del-code-note

... ... @@ -3,7 +3,7 @@
* @Author: Targaryen
* @Date: 2017-01-04 15:17:51
* @Last Modified by: Targaryen
* @Last Modified time: 2017-04-20 20:42:55
* @Last Modified time: 2017-09-12 14:51:58
*/
'use strict';
... ... @@ -38,11 +38,6 @@ const payCenter = (req, res, next) => {
return res.redirect('/');
}
// 如果支付开关关闭,走老版本的支付
// 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);
} else {
... ...