Showing
1 changed file
with
2 additions
and
2 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-02-20 10:43:10 | 6 | + * @Last Modified time: 2017-02-20 15:20:23 |
7 | */ | 7 | */ |
8 | 8 | ||
9 | 'use strict'; | 9 | 'use strict'; |
@@ -51,7 +51,7 @@ const payCenter = (req, res, next) => { | @@ -51,7 +51,7 @@ const payCenter = (req, res, next) => { | ||
51 | }); | 51 | }); |
52 | 52 | ||
53 | /* 判断订单是否已付款, 已付款跳到订单详情页 */ | 53 | /* 判断订单是否已付款, 已付款跳到订单详情页 */ |
54 | - if (orderDetail.isPay) { | 54 | + if (orderDetail.payment_status === 'Y') { |
55 | logger.info(`payCenter: orderCode-${orderCode} already paied`); | 55 | logger.info(`payCenter: orderCode-${orderCode} already paied`); |
56 | return res.redirect(helpers.urlFormat('/cart/shopping/pay/payZero', {order_code: orderCode})); | 56 | return res.redirect(helpers.urlFormat('/cart/shopping/pay/payZero', {order_code: orderCode})); |
57 | } | 57 | } |
-
Please register or login to post a comment