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

const prefix = 'withdrawal-application/';
/**
 * 提现审核
 * @param data
 */
export async function getFundWaterListApi(data: any) {
  return requestClient.get<any>(`${prefix}audit-list`, { params: data });
}
/**
 * 拒绝申请
 * @param data
 */
export async function refuseApplicationApi(data: any) {
  return requestClient.post<any>(`${prefix}refuse-application`, data);
}
/**
 * 通过申请
 * @param data
 */
export async function passApplicationApi(data: any) {
  return requestClient.post<any>(`${prefix}pass-application`, data);
}
