...
|
...
|
@@ -3,7 +3,7 @@ |
|
|
* @Author: Targaryen
|
|
|
* @Date: 2017-01-04 15:17:51
|
|
|
* @Last Modified by: Targaryen
|
|
|
* @Last Modified time: 2017-02-20 10:43:10
|
|
|
* @Last Modified time: 2017-02-20 15:20:23
|
|
|
*/
|
|
|
|
|
|
'use strict';
|
...
|
...
|
@@ -51,7 +51,7 @@ const payCenter = (req, res, next) => { |
|
|
});
|
|
|
|
|
|
/* 判断订单是否已付款, 已付款跳到订单详情页 */
|
|
|
if (orderDetail.isPay) {
|
|
|
if (orderDetail.payment_status === 'Y') {
|
|
|
logger.info(`payCenter: orderCode-${orderCode} already paied`);
|
|
|
return res.redirect(helpers.urlFormat('/cart/shopping/pay/payZero', {order_code: orderCode}));
|
|
|
}
|
...
|
...
|
|