@@ -216,6 +216,8 @@ class UpdateHkList extends Command
$device_index_code[$j] = $device_list['content'][$j]['sId'];
}
+ //删除不存在的摄像头
+ CameraList::where('mine_id', $mine_id)->where('index_code', '!=', NULL)->whereNotIn('index_code', $device_index_code)->delete();