import api from "../api/api";
import { $request } from "../utils/request";

/**
 * 获取付款详情列表
 * @param data 
 */
export const getHwPaymentDetailsListApi = (data: getHwPaymentDetailsListDataType): Promise<responseOptions> => {
  const options: requestOptionsType<any> = {
    url: api.hwPaymentDetail.getHwPaymentDetailsList,
    data
  }
  return $request(options)
}

export const getPaymentDetailApi = (data:getPaymentDetailDataType): Promise<responseOptions> => {
  const options: requestOptionsType<any> = {
    url: api.hwPaymentDetail.getPaymentDetail,
    data
  }
  return $request(options)
}