调整通风开启关闭
parent
b0d80f6557
commit
fe54903d0e
|
|
@ -485,8 +485,8 @@ class DeviceService extends BaseService
|
||||||
'content' => $msg,
|
'content' => $msg,
|
||||||
]);
|
]);
|
||||||
//编号,-todo
|
//编号,-todo
|
||||||
// $httpClient = app(HttpClient::class);
|
$httpClient = app(HttpClient::class);
|
||||||
// dd($httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 1]));
|
$httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 1]);
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -504,8 +504,8 @@ class DeviceService extends BaseService
|
||||||
'content' => $msg,
|
'content' => $msg,
|
||||||
]);
|
]);
|
||||||
//编号,
|
//编号,
|
||||||
// $httpClient = app(HttpClient::class);
|
$httpClient = app(HttpClient::class);
|
||||||
// dd($httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 0]));
|
$httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 0]);
|
||||||
return ;
|
return ;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue