Showing
1 changed file
with
1 additions
and
6 deletions
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | * @Author: Targaryen | 3 | * @Author: Targaryen |
4 | * @Date: 2017-01-04 15:17:51 | 4 | * @Date: 2017-01-04 15:17:51 |
5 | * @Last Modified by: Targaryen | 5 | * @Last Modified by: Targaryen |
6 | - * @Last Modified time: 2017-04-20 20:42:55 | 6 | + * @Last Modified time: 2017-09-12 14:51:58 |
7 | */ | 7 | */ |
8 | 8 | ||
9 | 'use strict'; | 9 | 'use strict'; |
@@ -38,11 +38,6 @@ const payCenter = (req, res, next) => { | @@ -38,11 +38,6 @@ const payCenter = (req, res, next) => { | ||
38 | return res.redirect('/'); | 38 | return res.redirect('/'); |
39 | } | 39 | } |
40 | 40 | ||
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 | - // } | ||
45 | - | ||
46 | if (sessionKey) { | 41 | if (sessionKey) { |
47 | sessionKey = sessionKey.substr(0, sessionKey.length - 8); | 42 | sessionKey = sessionKey.substr(0, sessionKey.length - 8); |
48 | } else { | 43 | } else { |
-
Please register or login to post a comment