更新二代蚊灯控制指令路由

This commit is contained in:
Jay Huang 2024-03-27 18:01:59 +08:00
parent 30d5372b30
commit 48a44aa864
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ export function fetchWeatherLog(query) {
export function fetchRemoteControl(deviceID, data) {
return request({
url: `/api/mosq/devicemqtt/remotecontrol/${deviceID}/`,
url: `/api/mosq/device/${deviceID}/mqtt/pub/`,
method: 'post',
data
})