Authored by 姜枫

fix new address id encryption

... ... @@ -86,6 +86,7 @@ const addAddressData = (req, res, next) => {
addressModel.addAddressData(uid, address, areaCode, consignee, mobile, phone, isInit).then(result => {
if (result.data && result.data.address_id) {
result.data.address_id = crypto.encryption(config.crypto.common, result.data.address_id + '');
result.data.aid = result.data.address_id;
}
res.send(result);
... ...