Authored by biao

update for empty order message

... ... @@ -58,7 +58,7 @@ const getOrderList = (req, res) => {
page: 'order',
isMe: true,
orderList: result.order.orderList,
orderData: result.order
orderData: result.order.orderData
});
});
};
... ...
... ... @@ -466,7 +466,7 @@ const getOrderData = (uid, type, page) => {
} : false;
return {
order: Object.assign(order, paginationOpts, empty)
order: Object.assign(order, paginationOpts, {orderData: empty})
};
});
};
... ...