sellerMoney.js 901 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import { requestApi } from '../util/network'
  2. // 获取店铺资金记录
  3. export const getSellerMoneyLogList =
  4. (params) =>
  5. requestApi(
  6. '/Sellermoney/index',
  7. 'POST',
  8. {
  9. 'page': params.page,
  10. 'per_page': params.per_page,
  11. 'client_type': 'wap'
  12. },
  13. 'seller'
  14. )
  15. // 获取店铺提现记录
  16. export const getSellerMoneyWithdrawList =
  17. (params) =>
  18. requestApi(
  19. '/Sellermoney/withdraw_list',
  20. 'POST',
  21. {
  22. 'page': params.page,
  23. 'per_page': params.per_page,
  24. 'client_type': 'wap'
  25. },
  26. 'seller'
  27. )
  28. // 店铺申请提现
  29. export const addSellerMoneyWithdraw =
  30. (amount) =>
  31. requestApi(
  32. '/Sellermoney/withdraw_add',
  33. 'POST',
  34. {
  35. 'pdc_amount': amount,
  36. 'client_type': 'wap'
  37. },
  38. 'seller'
  39. )