Authored by 郭成尧

select-address-return

... ... @@ -303,7 +303,8 @@ exports.selectAddress = (req, res, next) => {
return addressModel.addressData(uid).then(address => {
let moreUrl = (req.get('Referer') && !/\/home\/addressAct/.test(req.get('Referer'))) ?
let moreUrl = (req.get('Referer') && !/\/home\/addressAct/.test(req.get('Referer')) &&
!/selectAddress/.test(req.get('Referer'))) ?
req.get('Referer') : helpers.urlFormat('/cart/index/new/orderEnsure'); // 取跳过来的url
address = address.data;
... ...