application.yml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. server:
  2. port: 8080
  3. servlet.context-path: /ms-mcms
  4. logging:
  5. level:
  6. net.mingsoft: trace
  7. ms:
  8. manager:
  9. path: /ms
  10. view-path: /WEB-INF/manager
  11. session:
  12. timeout: 1800000
  13. validation-interval: 120000
  14. upload:
  15. path: /upload
  16. denied: exe
  17. allowed: jpg
  18. max-size: 1
  19. memory-size: 4096
  20. spring:
  21. profiles:
  22. active: dev
  23. mvc:
  24. pathmatch:
  25. use-suffix-pattern: true
  26. devtools:
  27. restart:
  28. enabled: true
  29. additional-paths: src/main/java
  30. exclude: static/**,WEB-INF/**
  31. servlet:
  32. multipart:
  33. max-request-size: 100MB
  34. freemarker:
  35. suffix: .ftl
  36. charset: UTF-8
  37. content-type: text/html
  38. allow-request-override: true
  39. allow-session-override: true
  40. expose-request-attributes: true
  41. expose-session-attributes: true
  42. expose-spring-macro-helpers: true
  43. prefer-file-system-access: false
  44. template-loader-path: classpath:/WEB-INF/manager
  45. settings:
  46. template_update_delay: 1
  47. default_encoding: UTF-8
  48. classic_compatible: true
  49. date_format: yyyy-MM-dd
  50. time_format: HH:mm:ss
  51. datetime_format: yyyy-MM-dd HH:mm:ss
  52. auto_import: /include/macro.ftl as ms
  53. mybatis:
  54. mapper-locations: classpath*:**/dao/*.xml
  55. configuration:
  56. database-id: mysql