bootstrap.yml 916 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. server:
  2. port: ${service.port.base}
  3. spring:
  4. servlet:
  5. multipart:
  6. max-file-size: 300MB
  7. max-request-size: 3000MB
  8. freemarker:
  9. request-context-attribute: request
  10. #prefix: /templates/
  11. suffix: .html
  12. content-type: text/html
  13. enabled: true
  14. cache: false
  15. charset: UTF-8
  16. allow-request-override: false
  17. expose-request-attributes: true
  18. expose-session-attributes: true
  19. expose-spring-macro-helpers: true
  20. #日志
  21. logging:
  22. level:
  23. root: info
  24. # mybatis配置
  25. mybatis:
  26. # 搜索指定包别名
  27. typeAliasesPackage: com.zd.base
  28. # 配置mapper的扫描,找到所有的mapper.xml映射文件
  29. mapperLocations: classpath:mapper/**/*.xml
  30. type-handlers-package: com.zd.model.enums
  31. configuration:
  32. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  33. call-setters-on-nulls: true
  34. # Mybatis开启驼峰映射
  35. mapUnderscoreToCamelCase: true