apiurl.js 1017 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. /*
  2. 接口统一管理
  3. */
  4. const apiurl = {
  5. // 登录
  6. login: {
  7. url: '/epidemicapp/app/login/epiOrgan',
  8. type: 'post'
  9. },
  10. // 机构(用户)信息
  11. loginInfo: {
  12. url: '/epidemicapp/app/login/epiOrgan/info',
  13. type: 'get'
  14. },
  15. // 重置密码
  16. resetPassWord: {
  17. url: '/epidemicapp/app/login/epiOrgan/reset/passWord',
  18. type: 'put'
  19. },
  20. // 物资分页查询
  21. epiMateList: {
  22. url: '/epidemicapp/app/epiMate/list',
  23. type: 'get'
  24. },
  25. // 物资分页查询
  26. applyApi: {
  27. url: '/epidemicapp/app/epiAskfor',
  28. type: 'post'
  29. },
  30. // 申请列表
  31. applyList: {
  32. url: '/epidemicapp/app/epiAskfor/list',
  33. type: 'get'
  34. },
  35. // 申请详情物资列表
  36. applyDetailsProduct: {
  37. url: '/epidemicapp/app/epiAskforMate/list',
  38. type: 'get'
  39. },
  40. }
  41. /*
  42. * 特殊处理接口
  43. */
  44. const otherApiUrl = {
  45. // 文件上传
  46. uploadFile: '/file/upload/single/minio',
  47. // 字典数据读取
  48. getDict: '/epidemicapp/app/dict/data/type/',
  49. // 申请详情
  50. applyDetails: '/epidemicapp/app/epiAskfor/',
  51. }
  52. export {
  53. apiurl,
  54. otherApiUrl
  55. }