Authored by biao

update for empty order message

@@ -58,7 +58,7 @@ const getOrderList = (req, res) => { @@ -58,7 +58,7 @@ const getOrderList = (req, res) => {
58 page: 'order', 58 page: 'order',
59 isMe: true, 59 isMe: true,
60 orderList: result.order.orderList, 60 orderList: result.order.orderList,
61 - orderData: result.order 61 + orderData: result.order.orderData
62 }); 62 });
63 }); 63 });
64 }; 64 };
@@ -466,7 +466,7 @@ const getOrderData = (uid, type, page) => { @@ -466,7 +466,7 @@ const getOrderData = (uid, type, page) => {
466 } : false; 466 } : false;
467 467
468 return { 468 return {
469 - order: Object.assign(order, paginationOpts, empty) 469 + order: Object.assign(order, paginationOpts, {orderData: empty})
470 }; 470 };
471 }); 471 });
472 }; 472 };