推拿小程序前端代码仓库
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.

133 lines
2.4 KiB

3 months ago
3 months ago
  1. // 个人相关接口
  2. const api = {
  3. /**
  4. * 我的团队-查询直推用户列表
  5. */
  6. queryRecommendUserList: {
  7. url: '/share/queryRecommendUserList',
  8. method: 'POST',
  9. auth: true,
  10. },
  11. /**
  12. * 邀请好友-获取推荐二维码
  13. */
  14. getInviteCode: {
  15. url: '/share/getInviteCode',
  16. method: 'POST',
  17. auth: true,
  18. showLoading: true,
  19. },
  20. /**
  21. * 积分-签到获取积分
  22. */
  23. sign: {
  24. url: '/score/sign',
  25. method: 'POST',
  26. auth: true,
  27. showLoading: true,
  28. },
  29. /**
  30. * 积分-查询积分列表
  31. */
  32. queryScoreList: {
  33. url: '/score/queryScoreList',
  34. method: 'GET',
  35. auth: true,
  36. showLoading: true,
  37. },
  38. // 充值
  39. recharge: {
  40. url: '/info_common/withdraw',
  41. method: 'GET',
  42. auth: true,
  43. limit: 1000,
  44. showLoading: true,
  45. },
  46. // 提现
  47. withdraw: {
  48. url: '/info_common/withdraw',
  49. method: 'GET',
  50. auth: true,
  51. limit: 1000,
  52. showLoading: true,
  53. },
  54. // 获取地址列表带分页
  55. getAddressPageList: {
  56. url: '/info_common/getAddressPageList',
  57. method: 'GET',
  58. auth: true,
  59. },
  60. // 增加或修改地址信息
  61. addOrUpdateAddress: {
  62. url: '/info_common/addOrUpdateAddress',
  63. method: 'POST',
  64. limit: 500,
  65. auth: true,
  66. showLoading: true,
  67. },
  68. // 删除地址
  69. deleteAddress: {
  70. url: '/info_common/deleteAddress',
  71. method: 'GET',
  72. limit: 500,
  73. auth: true,
  74. showLoading: true,
  75. },
  76. // 修改默认地址
  77. updateDefaultAddress: {
  78. url: '/info_common/updateDefaultAddress',
  79. method: 'GET',
  80. auth: true,
  81. limit: 1000,
  82. },
  83. // 获取粉丝列表带分页
  84. getFansPageList: {
  85. url: '/info_common/getFansPageList',
  86. method: 'GET',
  87. auth: true,
  88. },
  89. // 获取相关介绍
  90. getInfoIntroduce: {
  91. url: '/info_common/getInfoIntroduce',
  92. method: 'GET',
  93. auth: true,
  94. },
  95. // 获取流水记录带分页
  96. getWaterPageList: {
  97. url: '/info_common/getWaterPageList',
  98. method: 'GET',
  99. auth: true,
  100. },
  101. // 获取相关介绍
  102. getInfoIntroduce: {
  103. url: '/info_common/getInfoIntroduce',
  104. method: 'GET',
  105. },
  106. // 获取相关介绍详情
  107. getInfoIntroduceDetail: {
  108. url: '/info_common/getRiceNewsDetail',
  109. method: 'GET',
  110. },
  111. // 查询个人信息相关
  112. getRiceInfo: {
  113. url: '/info_common/getRiceInfo',
  114. method: 'GET',
  115. limit: 500,
  116. },
  117. // 获取购物车信息列表带分页
  118. getCartPageList: {
  119. url: '/info_common/getCartPageList',
  120. method: 'GET',
  121. },
  122. // 领取新人优惠券
  123. getRiceCoupon: {
  124. url: '/info_common/getRiceCoupon',
  125. method: 'GET',
  126. limit: 500,
  127. auth: true,
  128. },
  129. }
  130. export default api