1234567891011121314151617181920212223242526272829303132333435 |
- # 启动端口号
- 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/39/value/DATA
- scanSecond: 30 #蓝牙扫描时长
|