import { defHttp } from '/@/utils/http/axios'; enum Api { getBundleInfo = '/safety/reportLocalData/queryReportData', getFileList = '/safety/reportLocalData/list', getFileListById = '/safety/reportLocalData/queryById', } /** * * @param params */ export const getBundleInfoList = (params) => defHttp.post({ url: Api.getBundleInfo, params }); export const getAllFileList = (params) => defHttp.get({ url: Api.getFileList, params }); export const getAllFileListById = (params) => defHttp.get({ url: Api.getFileListById, params });