From 366c867c373a4328588bdb02fb3e61f362409953 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期二, 14 十二月 2021 15:30:12 +0800
Subject: [PATCH] GetAllCamerasAndGroupsByDevID ret nil []DomainUnit

---
 gb28181Api.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gb28181Api.go b/gb28181Api.go
index 0dba4a7..a74be0e 100644
--- a/gb28181Api.go
+++ b/gb28181Api.go
@@ -164,7 +164,7 @@
 		log.Println("errcode: ", camerasPerPage.ErrCode, " errdesc: ", camerasPerPage.ErrDesc)
 		return camerasPerPage, false
 	}
-
+	/*
 	if len(camerasPerPage.Data) > 0 {
 		for i := 0; i < len(camerasPerPage.Data); i++ {
 			if camerasPerPage.Data[i].ResType == 2 {
@@ -180,7 +180,7 @@
 				i--
 			}
 		}
-	}
+	}*/
 
 	return camerasPerPage, true
 }

--
Gitblit v1.8.0