memberWithdraw.js 516 B

12345678910111213141516171819202122232425
  1. import { requestApi } from '../util/network'
  2. export const getWithdrawList =
  3. (params) =>
  4. requestApi(
  5. '/Memberfund/pdcashlist',
  6. 'POST',
  7. {
  8. page: params.page,
  9. per_page: params.per_page
  10. },
  11. 'member'
  12. )
  13. export const addWithdraw =
  14. (pdcAmount, memberbankId, password) =>
  15. requestApi(
  16. '/Recharge/pd_cash_add',
  17. 'POST',
  18. {
  19. pdc_amount: pdcAmount,
  20. memberbank_id: memberbankId,
  21. password: password
  22. },
  23. 'member'
  24. )