memberPredeposit.js 798 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import { requestApi } from '../util/network'
  2. // 获取用户预存款记录
  3. export const getPredepositList =
  4. (params) =>
  5. requestApi(
  6. '/Memberfund/predepositlog',
  7. 'POST',
  8. {
  9. page:params.page,
  10. per_page:params.per_page
  11. },
  12. 'member'
  13. )
  14. // 获取用户充值卡记录
  15. export const getRechargeCardList =
  16. (params) =>
  17. requestApi(
  18. '/Memberfund/rcblog',
  19. 'POST',
  20. {
  21. page:params.page,
  22. per_page:params.per_page
  23. },
  24. 'member'
  25. )
  26. // 增加充值卡
  27. export const addRechargeCard =
  28. (rc_sn) =>
  29. requestApi(
  30. '/Memberfund/rechargecard_add',
  31. 'POST',
  32. {
  33. rc_sn:rc_sn
  34. },
  35. 'member'
  36. )