...
|
...
|
@@ -59,11 +59,12 @@ const _handelUseYohoCoin = (info) => { |
|
|
const _handelPaymentInfo = (d) => {
|
|
|
let resData = {};
|
|
|
|
|
|
// 地址信息加密
|
|
|
d.delivery_address.id = crypto.encryption('', `${d.delivery_address.address_id}`);
|
|
|
delete d.delivery_address.address_id;
|
|
|
resData.deliveryAddress = d.delivery_address;
|
|
|
|
|
|
if (d.delivery_address) {
|
|
|
// 地址信息加密
|
|
|
d.delivery_address.id = crypto.encryption('', `${d.delivery_address.address_id}`);
|
|
|
delete d.delivery_address.address_id;
|
|
|
resData.deliveryAddress = d.delivery_address;
|
|
|
}
|
|
|
|
|
|
d.shopping_cart_data.hasCoin = _.round(d.yoho_coin * 100); // 有货币稀释
|
|
|
|
...
|
...
|
|