apiurl.js 816 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /*
  2. 接口统一管理
  3. */
  4. const apiurl = {
  5. // 获取验证码
  6. captchaImage: {
  7. url: '/epidemicapp/captcha/generate',
  8. type: 'get'
  9. },
  10. // 登录
  11. login: {
  12. url: '/epidemicapp/app/login/storeUser',
  13. type: 'post'
  14. },
  15. // 物资分页查询
  16. epiStoreInList: {
  17. url: '/epidemicapp/app/epiMate/list',
  18. type: 'get'
  19. },
  20. // 新增入库
  21. epiStoreIn: {
  22. url: '/epidemicapp/app/epiStoreIn',
  23. type: 'post'
  24. },
  25. // 仓库列表
  26. storeList: {
  27. url: '/epidemicapp/app/epiStore/list/select',
  28. type: 'get'
  29. },
  30. // 库存查询
  31. stockList: {
  32. url: '/epidemicapp/app/epiStoreIn/list',
  33. type: 'get'
  34. },
  35. }
  36. /*
  37. * 特殊处理接口
  38. */
  39. const otherApiUrl = {
  40. // 文件上传
  41. uploadFile: '/file/upload/single/minio',
  42. // 字典数据读取
  43. getDict: '/epidemicapp/app/dict/data/type/',
  44. }
  45. export {
  46. apiurl,
  47. otherApiUrl
  48. }