application.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. server:
  2. port: 8081
  3. tomcat:
  4. max-http-header-size: 10240 #单位:字节
  5. ms:
  6. manager:
  7. path: ms
  8. view:
  9. path: /WEB-INF/manager
  10. session:
  11. timeout: 1800000 #会话超时, 单位:毫秒, 20m=1200000ms, 30m=1800000ms, 60m=3600000ms
  12. validation.interval: 120000 #会话清理间隔时间, 单位:毫秒,2m=120000ms
  13. upload:
  14. path: /upload
  15. denied: exe
  16. allowed: jpg
  17. max:
  18. size: 1
  19. memory:
  20. size: 4096
  21. spring:
  22. profiles:
  23. active: dev
  24. mvc:
  25. pathmatch:
  26. use-suffix-pattern: true
  27. devtools:
  28. restart:
  29. enabled: true
  30. additional-paths: src/main/java
  31. exclude: static/**,WEB-INF/**
  32. servlet:
  33. multipart:
  34. max-request-size: 100MB
  35. freemarker:
  36. allow-request-override: false
  37. allow-session-override: false
  38. cache: false
  39. charset: UTF-8
  40. check-template-location: true
  41. content-type: text/html
  42. enabled: true
  43. expose-request-attributes: false
  44. expose-session-attributes: false
  45. expose-spring-macro-helpers: true
  46. prefer-file-system-access: true
  47. suffix: .ftl
  48. template-loader-path: classpath:/WEB-INF/manager/
  49. settings:
  50. template_update_delay: 0
  51. default_encoding: UTF-8
  52. classic_compatible: true
  53. date_format: yyyy-MM-dd
  54. time_format: HH:mm:ss
  55. datetime_format: yyyy-MM-dd HH:mm:ss
  56. auto_import: /include/macro.ftl as ms
  57. mybatis:
  58. mapper-locations: classpath*:**/dao/*.xml
  59. configuration:
  60. database-id: mysql
  61. # slf4j日志配置
  62. logging:
  63. # 配置级别
  64. level:
  65. #分包配置级别,即不同的目录下可以使用不同的级别
  66. net.mingsoft: trace
  67. com.mingsoft: trace