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

const prefix = 'idcard-verify-log/';

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

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

/** 超管：旧明文姓名批量 MD5 回填 */
export async function backfillIdcardVerifyNameHash() {
  return requestClient.post<any>(`${prefix}backfill-name-hash`);
}
