application.yml 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. server:
  2. #端口号
  3. port: 8089
  4. #项目名,如果不设定,默认是 /
  5. servlet:
  6. context-path: "/thmz"
  7. spring:
  8. servlet:
  9. multipart:
  10. #单个文件大小
  11. max-file-size: 20MB
  12. #单次请求总文件大小
  13. max-request-size: 100MB
  14. datasource:
  15. his:
  16. jdbc-url: "jdbc:sqlserver://172.16.32.168:1433;databaseName=thxyhisdb"
  17. #jdbc-url: "jdbc:sqlserver://172.16.32.160:1433;databaseName=thxyhisdb"
  18. username: "sa"
  19. password:
  20. #password: "SAthyy123"
  21. driver-class-name: "com.microsoft.sqlserver.jdbc.SQLServerDriver"
  22. thmz:
  23. #jdbc-url: "jdbc:mariadb://localhost:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
  24. jdbc-url: "jdbc:mariadb://172.16.32.160:3306/thyy_mz_system?useUnicode=true&characterEncoding=utf-8"
  25. username: "root"
  26. #password: "hrg49086"
  27. password: "thyy@2018"
  28. driver-class-name: "org.mariadb.jdbc.Driver"
  29. devtools:
  30. restart:
  31. enabled: true
  32. thymeleaf:
  33. cache: false
  34. #配置项:开启下划线到驼峰的自动转换. 作用:将数据库字段根据驼峰规则自动注入到对象属性。
  35. mybatis:
  36. configuration:
  37. map-underscore-to-camel-case: true
  38. #打印SQL信息
  39. logging:
  40. level:
  41. cn.hnthyy.thmz.mapper: debug