import request from '@/utils/request';

/**
 * 获取会员注册记录列表（管理员）
 */
export function getMemberRegisterList(params: any) {
  return request.get('/shop/shop-member-register/page', params);
}

/**
 * 确认收款（会员费）
 */
export function confirmMemberFee(id: number) {
  return request.post(`/shop/shop-member-register/confirm/member-fee/${id}`);
}

/**
 * 确认注册费支付
 */
export function confirmRegisterFee(id: number) {
  return request.post(`/shop/shop-member-register/confirm/register-fee/${id}`);
}

/**
 * 获取会员注册统计
 */
export function getMemberRegisterStats() {
  return request.get('/shop/shop-member-register/stats');
}
