敢为人鲜小程序前端代码仓库
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.

95 lines
1.9 KiB

  1. // 我的 相关接口
  2. const api = {
  3. // 我的-获取推荐二维码
  4. getInviteCode: {
  5. url: '/teambuy/share/getInviteCode',
  6. method: 'POST',
  7. limit: 500
  8. },
  9. // 我的-获取个人中心基础数据信息
  10. getUserCenterData: {
  11. url: '/teambuy/userInfo/getUserCenterData',
  12. method: 'GET',
  13. limit: 500
  14. },
  15. // 我的-查看个人信息
  16. queryUser: {
  17. url: '/teambuy/userInfo/queryUser',
  18. method: 'GET',
  19. limit: 500
  20. },
  21. // 我的-修改个人信息
  22. // updateUser: {
  23. // url: '/teambuy/userInfo/updateUser',
  24. // method: 'POST'
  25. // },
  26. // 我的-团长申请
  27. addLeader: {
  28. url: '/teambuy/leader/addLeader',
  29. method: 'POST',
  30. limit: 500
  31. },
  32. // 我的- 解绑团长
  33. deleteLeader: {
  34. url: '/teambuy/leader/deleteLeader',
  35. method: 'POST',
  36. limit: 500
  37. },
  38. // 我的-查询团长列表
  39. queryLeaderList: {
  40. url: '/teambuy/leader/queryLeaderList',
  41. method: 'POST',
  42. limit: 500
  43. },
  44. // 我的-更换团长
  45. updateLeader: {
  46. url: '/teambuy/leader/updateLeader',
  47. method: 'POST',
  48. limit: '500'
  49. },
  50. // 我的-查询团长列表
  51. queryLeaderList : {
  52. url: '/teambuy/leader/queryLeaderList',
  53. method: 'POST',
  54. limit: 500
  55. },
  56. // 我的-查询团长列表(下单选择地址)
  57. queryLeaderList: {
  58. url: '/teambuy/leader/queryLeaderList',
  59. method: 'GET',
  60. limit: 500
  61. },
  62. // 钱包-充值回调
  63. CashNotify: {
  64. url: '/teambuy/amount/CashNotify',
  65. method: 'POST',
  66. limit: 500
  67. },
  68. // 钱包-充值
  69. cashIn: {
  70. url: '/teambuy/amount/cashIn',
  71. method: 'POST',
  72. limit: 500
  73. },
  74. // 钱包- 收支明细
  75. queryAmountLog: {
  76. url: '/teambuy/amount/queryAmountLog',
  77. method: 'POST',
  78. limit: 500
  79. }
  80. }
  81. export default api