|
|
@ -0,0 +1,51 @@ |
|
|
|
server: |
|
|
|
servlet: |
|
|
|
context-path: / |
|
|
|
port: 8080 |
|
|
|
|
|
|
|
spring: |
|
|
|
application: |
|
|
|
name: separate_gold_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: error |
|
|
|
|
|
|
|
springdoc: |
|
|
|
default-flat-param-object: true |
|
|
|
|
|
|
|
command_bus: |
|
|
|
|
|
|
|
device.enableCanBus: true |
|
|
|
|
|
|
|
iflytophald: |
|
|
|
ip: 127.0.0.1 |
|
|
|
cmdch.port: 19004 |
|
|
|
datach.port: 19005 |
|
|
|
|
|
|
|
#window config |
|
|
|
#modbus: |
|
|
|
# port: COM18 |
|
|
|
# baudrate: 9600 |
|
|
|
|
|
|
|
#工控机 config |
|
|
|
modbus: |
|
|
|
port: ttyS1 |
|
|
|
baudrate: 9600 |