diff --git a/app/Console/Commands/MqttPenwuPlan.php b/app/Console/Commands/MqttPenwuPlan.php index 14e1c3a..afd15a1 100644 --- a/app/Console/Commands/MqttPenwuPlan.php +++ b/app/Console/Commands/MqttPenwuPlan.php @@ -38,7 +38,6 @@ class MqttPenwuPlan extends Command //获取所有喷雾监控点,对应的自动喷雾配置 $deviceList = Device::where('type', Device::TYPE_ATOMIZING)->get(); $time = now()->format('H:i');//获取当前时间(时,分) - $time = '01:00'; foreach($deviceList as $device){ $_config = $device->extends ?? []; if($_config && $_config['is_enable']){//判断该配置是否开启