1234567891011121314151617181920212223242526272829303132333435363738394041 |
- # 启动端口号
- server:
- port: 8000
- # websocket url
- websocket:
- ws-url: ws://localhost:8000/ws?uid=server&to_uid=client
- # MySQL数据源配置
- sqlite:
- url: ./db/confrontation-training.db
- # 图片路径配置
- upload:
- savePath: ./files/
- accessUrl: http://localhost:8000/file/
- # JWT配置
- jwt:
- signingKey: z3d6k8v0n3w7m9sa1fd0u09h
- # 定时任务
- cron:
- enable: true
- #蓝牙网关地址
- gateway:
- baseUrl: http://192.168.2.254
- scanUrl: /gap/nodes?active=1&event=1
- connUrl: /gap/nodes/MAC/connection?chip
- notifyUrl: /gatt/nodes?event=1
- writeDataUrl: /gatt/nodes/MAC/handle/32/value/DATA
- openChannel: /gatt/nodes/MAC/handle/36/value/0100
- disconnectUrl: /gap/nodes/MAC/connection
- scanSecond: 1000 #蓝牙数据推送时间间隔
- #日志系统
- log2file:
- filePath: ./logs/
- # fileName: confrontation_training
- # fileSuffix: .log
|