Authored by 姜枫

fix new address id encryption

... ... @@ -232,7 +232,7 @@ const _getRelatedData = (idList) => {
return productList;
} else {
logger.error('推荐商品 cood 不是 200');
logger.error('推荐商品 code 不是 200');
return {};
}
});
... ...
... ... @@ -85,7 +85,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.aid = crypto.encryption(config.crypto.common, result.data.address_id + '');
result.data.address_id = crypto.encryption(config.crypto.common, result.data.address_id + '');
}
res.send(result);
... ...