application-dev.yml 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. server:
  2. port: 8803
  3. servlet:
  4. context-path: /dev
  5. session:
  6. persistent: false
  7. tomcat:
  8. accept-count: 150
  9. uri-encoding: UTF-8
  10. threads:
  11. max: 20
  12. spring:
  13. application:
  14. name: info-collection
  15. jackson:
  16. date-format: yyyy-MM-dd HH:mm:ss
  17. default-property-inclusion: non_null
  18. time-zone: GMT+8
  19. datasource:
  20. driver-class-name: com.mysql.cj.jdbc.Driver
  21. url: jdbc:mysql://192.168.99.12:3306/ldb_airport?characterEncoding=utf8&autoReconnect=true&allowMultiQueries=true&useSSL=false&serverTimezone=Asia/Shanghai
  22. username: root
  23. password: nqj##361
  24. hikari:
  25. maximum-pool-size: 10
  26. minimum-idle: 5
  27. connection-timeout: 30000
  28. idle-timeout: 600000
  29. max-lifetime: 1800000
  30. messages:
  31. basename: message/messages_zh_CN
  32. encoding: UTF-8
  33. servlet:
  34. multipart:
  35. enabled: true
  36. max-file-size: 50MB
  37. max-request-size: 50MB
  38. logging:
  39. file:
  40. name: ./logs/${spring.application.name}.log
  41. level:
  42. com.yixin.review: info
  43. logback:
  44. rollingpolicy:
  45. max-history: 10
  46. max-file-size: 10MB
  47. mybatis:
  48. mapper-locations: classpath:mapper/*.xml
  49. type-aliases-package: com.yixin.review.model.entity
  50. configuration:
  51. cache-enabled: true
  52. map-underscore-to-camel-case: true
  53. pagehelper:
  54. helper-dialect: mysql
  55. page-size-zero: true
  56. params: count=countSql
  57. reasonable: true
  58. support-methods-arguments: true
  59. ##``````````````````````````````````` tkMapper 配置``````````````````````````````````````````````````````````````###
  60. mapper. mappers: com.yx.face.boot.component.tk.TKMapper
  61. ##``````````````````````````````````` 微信小程序配置``````````````````````````````````````````````````````````````###
  62. wx:
  63. miniapp:
  64. configs:
  65. - appid: wxa450871e7d9db6e4
  66. secret: e5d49626b581c8c5bde4dd3f73a46e29
  67. token: #微信小程序消息服务器配置的token
  68. aesKey: #微信小程序消息服务器配置的EncodingAESKey
  69. msgDataFormat: JSON
  70. weixin.appid: wxa450871e7d9db6e4
  71. ##``````````````````````````````````` 在线文档 配置``````````````````````````````````````````````````````````````###
  72. swagger:
  73. enable: true
  74. knife4j:
  75. enable: true
  76. basic:
  77. enable: true
  78. ## Basic认证用户名
  79. username: airport
  80. ## Basic认证密码
  81. password: yx-review
  82. ##``````````````````````````````````` 上传文件 配置``````````````````````````````````````````````````````````````###
  83. file.upload.path: file/
  84. file.upload.path.relative: /file/**
  85. web.address: https://noise.hz-hanghui.com:8088/info-collection/
  86. ##``````````````````````````````````` 人脸服务 配置``````````````````````````````````````````````````````````````###
  87. face.service.tb: http://127.0.0.1:1820
  88. #定时任务 每5分钟
  89. cron.face.clear.user: 0 1/5 * * * ?