四零语境前端代码仓库
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.

64 lines
1.0 KiB

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 withdrawSuccess(data){
  22. return request({
  23. url: "/promotion/withdrawSuccess",
  24. method: "POST",
  25. data,
  26. needToken: true,
  27. showLoading: true,
  28. })
  29. },
  30. // 提现
  31. async withdraw(data){
  32. return request({
  33. url: "/promotion/withdraw",
  34. method: "POST",
  35. data,
  36. needToken: true,
  37. showLoading: true,
  38. })
  39. },
  40. // 获取推广统计
  41. async statistics(data){
  42. return request({
  43. url: "/promotion/statistics",
  44. method: "GET",
  45. data,
  46. needToken: true
  47. })
  48. },
  49. async qrCode(data){
  50. return request({
  51. url: "/promotion/qrCode",
  52. method: "GET",
  53. data,
  54. needToken: true
  55. })
  56. }
  57. }