apiurl.js 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. /*
  2. 接口统一管理
  3. */
  4. const apiurl = {
  5. /** 案例 */
  6. login: {
  7. url: '/member/auth/personsLogin',
  8. type: 'post'
  9. },
  10. loginOut: {
  11. url: '/member/auth/personsLogout',
  12. type: 'post'
  13. },
  14. /** 首页 */
  15. retailIndex: {
  16. url: '/system/client/retailIndex',
  17. type: 'get'
  18. },
  19. /** 用户信息 */
  20. getInfo: {
  21. url: '/member/marketPersons/getInfo',
  22. type: 'get'
  23. },
  24. getRetailQrcode: {
  25. url: '/member/marketPersons/getRetailQrcode',
  26. type: 'get'
  27. },
  28. getRetailStatistics: {
  29. url: '/member/marketPersons/getRetailStatistics',
  30. type: 'get'
  31. },
  32. getRetailInfo: {
  33. url: '/member/marketPersons/getRetailInfo',
  34. type: 'get'
  35. },
  36. payset: {
  37. url: '/member/marketPersons/payset',
  38. type: 'post'
  39. },
  40. marketPersonsSerial: {
  41. url: '/member/marketPersonsSerial/detailList',
  42. type: 'get'
  43. },
  44. withdrawInfo: {
  45. url: '/member/marketPersons/withdrawInfo',
  46. type: 'get'
  47. },
  48. orderWithdraw: {
  49. url: '/order/orderWithdraw/submit',
  50. type: 'post'
  51. },
  52. marketPersons: {
  53. url: '/member/marketPersons/paysetCheck',
  54. type: 'post'
  55. },
  56. getRetailInfo: {
  57. url: '/member/marketPersons/getRetailInfo',
  58. type: 'get'
  59. },
  60. orderWithdrawList: {
  61. url: '/order/orderWithdraw/pageList',
  62. type: 'get'
  63. },
  64. orderWithdrawSelectById: {
  65. url: '/order/orderWithdraw/selectById',
  66. type: 'get'
  67. },
  68. marketPersonsUpdatePwd: {
  69. url: '/member/marketPersons/updatePwd',
  70. type: 'post'
  71. },
  72. // 待提现人员列表
  73. distributorList: {
  74. url: '/member/marketPersons/withdrawPageList',
  75. type: 'get'
  76. },
  77. // 获取提现结算信息(新)
  78. getSettlement: {
  79. url: '/member/marketPersons/getSettlement',
  80. type: 'post'
  81. },
  82. // 获取提现结算信息 (新)
  83. withdrawApply: {
  84. url: '/member/marketPersons/withdrawApply',
  85. type: 'post'
  86. },
  87. /**
  88. * @author ygh
  89. * @date 2023-12-14
  90. * 公众号获取openid
  91. *
  92. * */
  93. wxinfoH5: {
  94. url: '/member/wechat/h5/code/',
  95. type: 'get',
  96. addUrl: true
  97. },
  98. personsLoginCheck: {
  99. url: '/member/auth/personsLoginCheck',
  100. type: 'get'
  101. },
  102. // 银联签约入网地址
  103. getUnionAccessUrl: {
  104. url: '/member/marketPersons/getUnionAccessUrl',
  105. type: 'get'
  106. },
  107. }
  108. /*
  109. * 特殊处理接口
  110. */
  111. const otherApiUrl = {
  112. // 文件上传
  113. uploadFile: '/file/upload/single/minio',
  114. }
  115. export {
  116. apiurl,
  117. otherApiUrl
  118. }