import { requestClient } from '#/api/request';

const prefix = 'error-log/';

export async function getErrorLogList(data: any) {
  return requestClient.get<any>(`${prefix}list`, { params: data });
}

export async function getErrorLogDetail(id: number) {
  return requestClient.get<any>(`${prefix}detail`, { params: { id } });
}
