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.
|
|
# monitor
## mqtt
### channels
```所有: /tv/cmd/all单个: /tv/cmd/<clientId>返回通道: /tv/log/#```
### cmds
信息```{ "cmd": "info" }```
路由跳转```{ "cmd": "routerPush", "payload": { "path": "/frame", "query": { "url": "http://www.baidu.com" } } }```
祝贺签单```{ "cmd": "congrats", "payload": { "img": "http://...", //全屏幕图片地址, 1920*1080 "audio": "http://...", //播放mp3, 可不填,使用默认 "duration": 50000, //持续时间, ms, 可不填, 默认10min "text": "恭喜签单" //底部贺词, 可不填 } }```
设置LocalStorage```{ "cmd": "localStorageSet", "payload": { "clientCode": "...", "clientName": "xx小米电视" } }```
## Project setup
```npm install```
### Compiles and hot-reloads for development
```npm run dev```
### Compiles and minifies for production
```npm run build```
### Lints and fixes files
```npm run lint```
|