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