Authored by 郝肖肖

moreUrl address 判断

... ... @@ -358,7 +358,7 @@ exports.selectAddress = (req, res, next) => {
req.session.addressMore = moreUrl; // TODO: 注意cookie-session
}
moreUrl = req.session.addressMore || helpers.urlFormat('/cart/index/new/orderEnsure', {
moreUrl = req.session.addressMore || moreUrl || helpers.urlFormat('/cart/index/new/orderEnsure', {
cartType: req.cookies._cartType
});
... ...