Authored by lijing

没有uid,不调接口

... ... @@ -387,6 +387,11 @@ const order = (params) => {
const getOrders = (params) => {
let finalResult = [];
if (!params.uid) {
return new Promise(function(resolve){
resolve();
});
}
return _getOrderData(params).then(result => {
if (result.data && result.data.page_total && params.page <= result.data.page_total && result.data.order_list) {
let count = 0;
... ...