pay.js 737 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import request from '@/sheep/request';
  2. export default {
  3. // 发起提现
  4. withdraw: {
  5. list: (params) =>
  6. request({
  7. url: 'withdraw',
  8. method: 'GET',
  9. params,
  10. custom: {
  11. auth: true,
  12. },
  13. }),
  14. rules: () =>
  15. request({
  16. url: 'withdraw/rules',
  17. method: 'GET',
  18. custom: {
  19. auth: true,
  20. },
  21. }),
  22. apply: (data) =>
  23. request({
  24. url: '/app-api/trade/brokerage-withdraw/create',
  25. method: 'POST',
  26. data,
  27. custom: {
  28. loadingMsg: '申请中',
  29. // auth: true,
  30. },
  31. }),
  32. userGet: (params) =>
  33. request({
  34. url: '/app-api/trade/brokerage-user/get',
  35. method: 'GET',
  36. params,
  37. // custom: {
  38. // loadingMsg: '申请中',
  39. // auth: true,
  40. // },
  41. }),
  42. },
  43. };