application.yml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. server:
  2. port: 6100
  3. mybatis-plus:
  4. configuration:
  5. # log-impl: org.apache.ibatis.logging.stdout.StdOutImpl #开启sql日志
  6. log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl #关闭sql日志
  7. map-underscore-to-camel-case: true
  8. mapper-locations: classpath:/mapper/*Mapper.xml
  9. global-config:
  10. banner: false
  11. db-config:
  12. id-type: auto
  13. table-underline: true
  14. logic-delete-value: 1
  15. logic-not-delete-value: 0
  16. spring:
  17. datasource:
  18. type: com.zaxxer.hikari.HikariDataSource
  19. driver-class-name: com.mysql.cj.jdbc.Driver
  20. username: root
  21. password: '!QAZ2root'
  22. url: jdbc:mysql://192.168.1.205:3306/ipp-tl?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&allowMultiQueries=true&serverTimezone=Asia/Shanghai
  23. # 模板引擎
  24. thymeleaf:
  25. prefix: classpath:/templates/
  26. suffix: .html
  27. mode: HTML5
  28. encoding: UTF-8
  29. cache: false
  30. calculate:
  31. service:
  32. enabled: true
  33. version: 0.0.36
  34. dbType: mysql
  35. dqForecastDays: 10