Browse Source

朗峰数据设备

cqp 11 months ago
parent
commit
bd9029162b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      app/Jobs/ManDeviceJobLf.php

+ 2 - 0
app/Jobs/ManDeviceJobLf.php

@@ -54,6 +54,8 @@ class ManDeviceJobLf implements ShouldQueue
 
                     if(! in_array($dev_eui,$device)) continue;
 
+                    if(empty($value['value'])) continue;
+
                     //发送给朗峰
                     $this->sendToDevice(['dev_eui' => $dev_eui, 'value' => $value['value']]);