|
@@ -58,7 +58,7 @@ class ManDeviceJob implements ShouldQueue
|
|
|
$this->sendToDevice(['dev_eui' => $dev_eui, 'value' => $value['value']]);
|
|
|
|
|
|
$insert[] = [
|
|
|
- 'data' => json_encode($value),
|
|
|
+// 'data' => json_encode($value),
|
|
|
'happening_data' => $value['value'],
|
|
|
'dev_eui' => $dev_eui,
|
|
|
'device_name' => $deviceName,
|
|
@@ -72,7 +72,7 @@ class ManDeviceJob implements ShouldQueue
|
|
|
$dev_eui = $deviceId;
|
|
|
if(in_array($dev_eui,$device)) {
|
|
|
$insert[] = [
|
|
|
- 'data' => json_encode($this->data['data']['position']),
|
|
|
+// 'data' => json_encode($this->data['data']['position']),
|
|
|
'happening_data' => '',
|
|
|
'dev_eui' => $deviceId,
|
|
|
'device_name' => $deviceName,
|