application-dev.yml 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. server:
  2. port: 9502
  3. spring:
  4. datasource:
  5. url: jdbc:mysql://122.112.224.199:3306/huimv-eartag-cloud?useUnicode=true&characterEncoding=UTF-8&useSSL=false&autoReconnect=true&serverTimezone=Asia/Shanghai
  6. username: root
  7. password: hm123456
  8. driver-class-name: com.mysql.cj.jdbc.Driver
  9. jpa:
  10. # hibernate:
  11. # ddl-auto: update #validate
  12. database-platform: org.hibernate.dialect.MySQL5InnoDBDialect
  13. show-sql: true
  14. servlet:
  15. multipart:
  16. max-file-size: 100MB
  17. max-request-size: 1000MB
  18. # jackson时间格式化
  19. jackson:
  20. time-zone: GMT+8
  21. date-format: yyyy-MM-dd HH:mm:ss
  22. mvc:
  23. view:
  24. prefix: /
  25. suffix: .html
  26. main:
  27. allow-bean-definition-overriding: true
  28. # redis:
  29. # database: 0
  30. # host: 124.71.192.190
  31. # port: 6379
  32. # password: hm123456
  33. # jedis:
  34. # pool:
  35. # max-active: 20
  36. # max-wait: -1
  37. # max-idle: 10
  38. # min-idle: 0
  39. # timeout: 5000
  40. # mybatis-plus相关配置
  41. mybatis-plus:
  42. type-aliases-package: com.huimv.*.entity
  43. global-config:
  44. banner: false
  45. db-config:
  46. id-type: auto
  47. #原生配置
  48. configuration:
  49. map-underscore-to-camel-case: true
  50. cache-enabled: false
  51. call-setters-on-nulls: true
  52. jdbc-type-for-null: 'null'
  53. log-impl: org.apache.ibatis.logging.nologging.NoLoggingImpl
  54. #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl --打印日志--上面的是关闭打印