四零语境前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
855 B

1 month ago
1 month ago
  1. import request from "@/api/request";
  2. export default {
  3. async water(data){
  4. return request({
  5. url: "/promotion/water",
  6. method: "GET",
  7. data,
  8. needToken: true
  9. })
  10. },
  11. // 我的团队
  12. async team(data){
  13. return request({
  14. url: "/promotion/team",
  15. method: "GET",
  16. data,
  17. needToken: true
  18. })
  19. },
  20. // 提现
  21. async withdraw(data){
  22. return request({
  23. url: "/promotion/withdraw",
  24. method: "POST",
  25. data,
  26. needToken: true,
  27. showLoading: true,
  28. })
  29. },
  30. // 获取推广统计
  31. async statistics(data){
  32. return request({
  33. url: "/promotion/statistics",
  34. method: "GET",
  35. data,
  36. needToken: true
  37. })
  38. },
  39. async qrCode(data){
  40. return request({
  41. url: "/promotion/qrCode",
  42. method: "GET",
  43. data,
  44. needToken: true
  45. })
  46. }
  47. }