application-hf.yml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. server:
  2. port: 8092
  3. servlet:
  4. context-path: /
  5. spring:
  6. main:
  7. allow-bean-definition-overriding: true #当遇到同样名字的时候,是否允许覆盖注册
  8. autoconfigure:
  9. exclude: org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration,org.springframework.boot.autoconfigure.jdbc.DataSourceTransactionManagerAutoConfiguration
  10. datasource:
  11. type: com.alibaba.druid.pool.DruidDataSource
  12. driver-class-name: oracle.jdbc.OracleDriver
  13. #外网
  14. url: jdbc:oracle:thin:@10.0.118.71:1521:gdsj
  15. username: gdprod
  16. password: gd123
  17. oracle-schema=:
  18. druid:
  19. max-active: 20
  20. initial-size: 1
  21. min-idle: 3
  22. max-wait: 60000
  23. time-between-eviction-runs-millis: 60000
  24. min-evictable-idle-time-millis: 300000
  25. test-while-idle: true
  26. test-on-borrow: false
  27. test-on-return: false
  28. servlet:
  29. multipart:
  30. # 开启 multipart 上传功能
  31. enabled: true
  32. # 文件写入磁盘的阈值
  33. file-size-threshold: 2KB
  34. # 最大文件大小
  35. max-file-size: 200MB
  36. # 最大请求大小
  37. max-request-size: 215MB
  38. mybatis-plus:
  39. configuration:
  40. map-underscore-to-camel-case: true
  41. auto-mapping-behavior: full
  42. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  43. mapper-locations: classpath*:mapper/**/*Mapper.xml
  44. global-config:
  45. # 逻辑删除配置
  46. db-config:
  47. id-type: auto
  48. # 删除前
  49. logic-not-delete-value: 1
  50. # 删除后
  51. logic-delete-value: 0
  52. logging:
  53. level:
  54. root: info
  55. com.example: debug
  56. # model和风meterpoint 去掉最后两个字段
  57. # windpowerinfoday 去掉test1