更新二代蚊灯控制指令路由
This commit is contained in:
parent
30d5372b30
commit
48a44aa864
|
@ -82,7 +82,7 @@ export function fetchWeatherLog(query) {
|
||||||
|
|
||||||
export function fetchRemoteControl(deviceID, data) {
|
export function fetchRemoteControl(deviceID, data) {
|
||||||
return request({
|
return request({
|
||||||
url: `/api/mosq/devicemqtt/remotecontrol/${deviceID}/`,
|
url: `/api/mosq/device/${deviceID}/mqtt/pub/`,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue