...
|
...
|
@@ -201,15 +201,10 @@ module.exports = class extends global.yoho.BaseModel { |
|
|
});
|
|
|
}
|
|
|
|
|
|
if (orderDetail.links) {
|
|
|
_.forEach(orderDetail.links, (val) => {
|
|
|
if (val === 'getExpress') {
|
|
|
if (_.get(orderDetail, 'orderDetailInfo.ext.needHref') === 'Y') {
|
|
|
orderDetail = _.assign(orderDetail, {
|
|
|
expressUrl: helpers.urlFormat('/home/logistic', {order_code: orderCode})
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
|
|
|
_.forEach(orderDetail.orderGoods, function(data) {
|
...
|
...
|
|