first commit

This commit is contained in:
xin
2024-07-19 13:58:44 +08:00
commit 3efe6cb5b6
42 changed files with 7606 additions and 0 deletions

View File

@ -0,0 +1,9 @@
const express = require('express')
const router = express.Router()
const mqttHandler = require('../router_handler/mqtt_router_handle')
router.post('/getSwitchStat', mqttHandler.getSwitchStat)
router.get('/getSwitchList', mqttHandler.getSwitchList)
router.get('/SetSwitch', mqttHandler.SetSwitch)
module.exports = router