You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
521 B
TypeScript

import { useAxios } from '@/hooks/web/useAxios'
const request = useAxios()
// 任务日志列表
export const getJobLogPageApi = (params) => {
return request.get({ url: '/infra/job-log/page', params })
}
// 任务日志详情
export const getJobLogApi = (id: number) => {
return request.get({ url: '/infra/job-log/get?id=' + id })
}
// 导出定时任务日志
export const exportJobLogApi = (params) => {
return request.get({
url: '/infra/job-log/export-excel',
params,
responseType: 'blob'
})
}