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

135 lines
2.9 KiB

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