Authored by 郭成尧

-foreach-return-false

... ... @@ -81,7 +81,7 @@ exports.orderEnsure = (req, res, next) => {
let orderAddress = _.get(order, 'address', []);
let addressList = _.get(address, 'data', []);
orderAddress.length && addressList.forEach(address => { //eslint-disable-line
orderAddress.length && _.forEach(addressList, address => { //eslint-disable-line
if (address.address_id === orderAddress.address_id) {
mobile = address.mobile;
return false;
... ...