withdrawal.js 593 B

1234567891011121314151617181920212223242526272829
  1. import request from '@/sheep/request';
  2. const WithdrawalApi = {
  3. getWithdrawalPage: (params) => {
  4. return request({
  5. url: '/distri/application-for-withdrawal/page',
  6. method: 'GET',
  7. params,
  8. custom: {
  9. showLoading: false,
  10. showError: false,
  11. },
  12. });
  13. },
  14. // 获得提现比例
  15. getWithdrawalPercentage: (params) => {
  16. return request({
  17. url: '/distri/order-percentage/get',
  18. method: 'GET',
  19. params,
  20. custom: {
  21. showLoading: false,
  22. showError: false,
  23. },
  24. });
  25. },
  26. };
  27. export default WithdrawalApi;