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
43 lines
988 B
server:
|
|
servlet:
|
|
context-path: /
|
|
port: 8090
|
|
|
|
spring:
|
|
application:
|
|
name: matrix-spray
|
|
datasource:
|
|
url: jdbc:sqlite:matrix-spray.db
|
|
driver-class-name: org.sqlite.JDBC
|
|
# sql:
|
|
# init:
|
|
# mode:
|
|
|
|
mybatis-plus:
|
|
configuration:
|
|
# 开启 SQL 日志输出(可选)
|
|
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
# 如果需要加载 XML 文件(自定义 SQL),可配置 mapper-locations:
|
|
mapper-locations: classpath*:mapper/*.xml
|
|
|
|
# 可选:开启 SQL 打印,调试时方便查看
|
|
logging:
|
|
level:
|
|
root: INFO
|
|
org.mybatis: DEBUG
|
|
|
|
springdoc:
|
|
default-flat-param-object: true
|
|
|
|
jwt:
|
|
enabled: false # 是否启用权限认证,设置为 true 启用,false 禁用
|
|
|
|
#与设备TCP链接
|
|
tcp:
|
|
enable: false # 是否开启 TCP 连接
|
|
host: 192.168.1.130
|
|
port: 9080
|
|
reconnect: 5000 # 断线重连间隔(单位:毫秒)
|
|
timeout: 10000 # 连接超时时间(单位:毫秒)
|
|
feedback-timeout: 500000
|
|
|