hwPaymentDetail.impl.ts 616 B

12345678910111213141516171819202122
  1. import { getHwPaymentDetailsListApi, getPaymentDetailApi } from "../hwPaymentDetail";
  2. /**
  3. * 获取我的订单列表
  4. * @param parma
  5. */
  6. export const getHwPaymentDetailsListImpl = (parma: getHwPaymentDetailsListDataType) => getHwPaymentDetailsListApi(parma).then(res => {
  7. const data = (<responseOptionsType>res)
  8. return data
  9. }).catch(err => {
  10. throw err
  11. })
  12. /**
  13. * 获取我的订单列表
  14. * @param parma
  15. */
  16. export const getPaymentDetailApiImpl = (parma: getPaymentDetailDataType) => getPaymentDetailApi(parma).then(res => {
  17. const data = (<responseOptionsType>res)
  18. return data
  19. }).catch(err => {
  20. throw err
  21. })