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

/**
 * OA 通知发送日志 API（只读）
 * 路由前缀：oa-notify-log/
 */
const prefix = 'oa-notify-log/';

/**
 * 分页查询日志列表
 */
export async function getOaNotifyLogList(data: any) {
  return requestClient.get<any>(`${prefix}list`, { params: data });
}

/**
 * 获取日志详情
 */
export async function getOaNotifyLogInfo(id: number) {
  return requestClient.get<any>(`${prefix}detail`, { params: { id } });
}
