...
|
...
|
@@ -385,10 +385,10 @@ const order = (params) => { |
|
|
* @param params
|
|
|
*/
|
|
|
const getOrders = (params) => {
|
|
|
let finalResult = [];
|
|
|
let finalResult = Promise.resolve([]);
|
|
|
|
|
|
if (!params.uid) {
|
|
|
return Promise.resolve({});
|
|
|
return Promise.resolve([]);
|
|
|
}
|
|
|
return _getOrderData(params).then(result => {
|
|
|
if (result.data && result.data.page_total && params.page <= result.data.page_total && result.data.order_list) {
|
...
|
...
|
|