Authored by biao

update for goods url in order detail

... ... @@ -498,6 +498,12 @@ const getOrderDetail = (uid, code) => {
title: '订单详情'
};
detail.orderGoods.forEach(good => {
let cnAlphabet = good.cnAlphabet ? good.cnAlphabet : '';
good.goodUrl = helpers.urlFormat(`/product/pro_${good.productId}_${good.goodsId}/${cnAlphabet}.html`);
});
detail.createTime = _convertUnixTime(detail.createTime);
if (detail.isCancel === 'N' &&
... ...