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

const prefix = 'vip-duration-type/';

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

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

export async function updateVipDuration(data: Record<string, any>) {
  return requestClient.post<any>(`${prefix}update`, data);
}
