apiurl.js 996 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. 接口统一管理
  3. */
  4. const apiurl = {
  5. // 用户注册登陆
  6. login: {
  7. url: '/auth/exchangeAccountLogin',
  8. type: 'post'
  9. },
  10. //登录用户信息
  11. memberInfo: {
  12. url: '/memberInfo/getInfoById',
  13. type: 'get'
  14. },
  15. // 重新登录
  16. reLogin: {
  17. url: '/auth/login',
  18. type: 'post'
  19. },
  20. // 修改密码
  21. updatePassword: {
  22. url: '/memberInfo/updatePassword',
  23. type: 'put'
  24. },
  25. // 修改用户信息
  26. updateMemberInfo: {
  27. url: '/memberInfo/update',
  28. type: 'put'
  29. },
  30. //核销商品信息
  31. getCheckGood: {
  32. url: '/memberExchangeRecord/getCheckGood',
  33. type: 'get'
  34. },
  35. //奖品核销
  36. check: {
  37. url: '/memberExchangeRecord/check',
  38. type: 'put'
  39. },
  40. //核销记录
  41. checkList: {
  42. url: '/memberExchangeRecord/selectCheckList',
  43. type: 'get'
  44. },
  45. //核销详情
  46. checkDetail: {
  47. url: '/memberExchangeRecord/selectById',
  48. type: 'get'
  49. },
  50. }
  51. /*
  52. * 特殊处理接口
  53. */
  54. const otherApiUrl = {
  55. // 文件上传
  56. uploadFile: '/file/upload/single/minio',
  57. }
  58. export {
  59. apiurl,
  60. otherApiUrl
  61. }