orderListService.js
561 Bytes
import BaseService from '../../libs/services/baseService.js';
const UFO_ORDER_LIST = 'ufo.order.list';
const UFO_BUYER_DELETE_ORDER = 'ufo.buyer.delete';
const UFO_BUYER_CANCEL_ORDER = 'ufo.buyer.cancel';
export default class MyAssetsService extends BaseService {
//获取订单列表
async getOrderListInfo(params, complete) {
return await this.GET(
{
...params,
method: UFO_ORDER_LIST
},
{
complete
}
).then((data) => {
return data;
}).catch((error) => {
return error;
})
}
}