|
|
@ -3,32 +3,12 @@ server: |
|
|
|
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: |
|
|
|
# 如果需要加载 XML 文件(自定义 SQL),可配置 mapper-locations: |
|
|
|
mapper-locations: classpath*:mapper/*.xml |
|
|
|
|
|
|
|
#开启 SQL 打印,调试时方便查看 |
|
|
|
logging: |
|
|
|
level: |
|
|
|
root: INFO |
|
|
|
org.mybatis: DEBUG |
|
|
|
|
|
|
|
springdoc: |
|
|
|
default-flat-param-object: true |
|
|
|
|
|
|
|
device.enableCanBus: true |
|
|
|
|
|
|
|
iflytophald: |
|
|
|