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.
41 lines
836 B
41 lines
836 B
server:
|
|
servlet:
|
|
context-path: /
|
|
port: 8080
|
|
|
|
spring:
|
|
application:
|
|
name: graphite_digestion_service
|
|
datasource:
|
|
url: jdbc:sqlite:db/app.db
|
|
driver-class-name: org.sqlite.JDBC
|
|
sql:
|
|
init:
|
|
#always embedded never
|
|
mode: always
|
|
schema-locations: classpath:/sql/init.sql
|
|
|
|
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
|
|
|
|
command_bus:
|
|
|
|
device.enableCanBus: true
|
|
|
|
iflytophald:
|
|
ip: 192.168.1.140
|
|
cmdch.port: 19004
|
|
datach.port: 19005
|