You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
988 B

5 months ago
5 months ago
  1. server:
  2. servlet:
  3. context-path: /
  4. port: 8090
  5. spring:
  6. application:
  7. name: matrix-spray
  8. datasource:
  9. url: jdbc:sqlite:matrix-spray.db
  10. driver-class-name: org.sqlite.JDBC
  11. # sql:
  12. # init:
  13. # mode:
  14. mybatis-plus:
  15. configuration:
  16. # 开启 SQL 日志输出(可选)
  17. log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
  18. # 如果需要加载 XML 文件(自定义 SQL),可配置 mapper-locations:
  19. mapper-locations: classpath*:mapper/*.xml
  20. # 可选:开启 SQL 打印,调试时方便查看
  21. logging:
  22. level:
  23. root: INFO
  24. org.mybatis: DEBUG
  25. springdoc:
  26. default-flat-param-object: true
  27. jwt:
  28. enabled: false # 是否启用权限认证,设置为 true 启用,false 禁用
  29. #与设备TCP链接
  30. tcp:
  31. enable: false # 是否开启 TCP 连接
  32. host: 192.168.1.130
  33. port: 9080
  34. reconnect: 5000 # 断线重连间隔(单位:毫秒)
  35. timeout: 10000 # 连接超时时间(单位:毫秒)
  36. feedback-timeout: 500000