This commit is contained in:
@@ -13,6 +13,15 @@ import type {
|
||||
} from '@/types/api'
|
||||
|
||||
export class OrderService extends BaseService {
|
||||
static getPlatformOrders(params?: OrderQueryParams): Promise<BaseResponse<OrderListResponse>> {
|
||||
return this.get('/api/admin/orders/platform', params)
|
||||
}
|
||||
static getAgentOrders(params?: OrderQueryParams): Promise<BaseResponse<OrderListResponse>> {
|
||||
return this.get('/api/admin/orders/agent', params)
|
||||
}
|
||||
static getOnlineOrders(params?: OrderQueryParams): Promise<BaseResponse<OrderListResponse>> {
|
||||
return this.get('/api/admin/orders/online', params)
|
||||
}
|
||||
/**
|
||||
* 获取订单列表
|
||||
* @param params 查询参数
|
||||
|
||||
Reference in New Issue
Block a user