Authored by 郝肖肖

moreUrl address 判断

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