1
0
Fork 0

调整通风开启关闭

main
vine_liutk 2023-09-06 16:02:19 +08:00
parent b0d80f6557
commit fe54903d0e
1 changed files with 4 additions and 4 deletions

View File

@ -485,8 +485,8 @@ class DeviceService extends BaseService
'content' => $msg,
]);
//编号,-todo
// $httpClient = app(HttpClient::class);
// dd($httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 1]));
$httpClient = app(HttpClient::class);
$httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 1]);
return ;
}
@ -504,8 +504,8 @@ class DeviceService extends BaseService
'content' => $msg,
]);
//编号,
// $httpClient = app(HttpClient::class);
// dd($httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 0]));
$httpClient = app(HttpClient::class);
$httpClient->deviceDataDownlink($device->sn, 'switch_control', ['switch_state' => 0]);
return ;
}
}