application.yml 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. server:
  2. port: 8080
  3. servlet.context-path: /ms-mcms
  4. servlet.session.timeout: 60M
  5. logging:
  6. level:
  7. net.mingsoft: trace
  8. ms:
  9. manager:
  10. path: /ms
  11. view-path: /WEB-INF/manager
  12. upload:
  13. path: /upload
  14. mapping: /upload/**
  15. denied: .exe,.jsp
  16. multipart:
  17. #最大上传文件大小 单位:KB
  18. max-file-size: 10240
  19. #文件暂存临时目录
  20. upload-temp-dir: temp
  21. #临时文件大小
  22. max-in-memory-size: 10240
  23. #总上传最大大小 单位:KB -1禁用
  24. max-request-size: -1
  25. spring:
  26. profiles:
  27. active: dev
  28. mvc:
  29. pathmatch:
  30. use-suffix-pattern: true
  31. devtools:
  32. restart:
  33. enabled: true
  34. additional-paths: src/main/java
  35. exclude: static/**,WEB-INF/**
  36. servlet:
  37. multipart:
  38. max-request-size: 100MB
  39. enabled: false
  40. freemarker:
  41. suffix: .ftl
  42. charset: UTF-8
  43. content-type: text/html
  44. allow-request-override: true
  45. allow-session-override: true
  46. expose-request-attributes: true
  47. expose-session-attributes: true
  48. expose-spring-macro-helpers: true
  49. prefer-file-system-access: false
  50. template-loader-path: classpath:/WEB-INF/manager,classpath:/WEB-INF
  51. settings:
  52. template_update_delay: 1
  53. default_encoding: UTF-8
  54. classic_compatible: true
  55. date_format: yyyy-MM-dd
  56. time_format: HH:mm:ss
  57. datetime_format: yyyy-MM-dd HH:mm:ss
  58. auto_import: /include/macro.ftl as ms
  59. number_format: 0.##
  60. mybatis:
  61. mapper-locations: classpath*:**/dao/*.xml
  62. configuration:
  63. database-id: mysql