// API List // /batchDownload/list - GET import http from '@/service/serverReq' import type { BatchDownloadFilter, BatchDownloadItemPage } from './interface' const API_List = { batchDownloadList: '/batchDownload/list', } // GET 后台任务信息 export const getBatchDownloadList = async ( pageSize: number, pageNum: number, filter?: BatchDownloadFilter, ): Promise => { const res = await http.get(API_List.batchDownloadList, { params: { pageSize, pageNum, sn: filter ? (filter.sn ?? '') : '', type: filter ? (filter.type ?? '') : '', }, }) return res }