From 0213e81df2bcddb9ba59ba9a3d745992b2e4159e Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期三, 04 十二月 2019 13:42:47 +0800
Subject: [PATCH] add UpdateChannelCount

---
 cameraApi.go |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/cameraApi.go b/cameraApi.go
index a4d2311..719f185 100644
--- a/cameraApi.go
+++ b/cameraApi.go
@@ -424,4 +424,19 @@
 	}
 
 	return res.Success,res.Data
+}
+
+func (api CameraApi) StatisticRunInfo() (bool,interface{}){
+	url := api.getBasicUrl() + DATA_URL_PREFIX + "/camera/statisticRunInfo"
+	client := NewClient()
+	body, err := client.DoGetRequest(url, nil, nil)
+	if err != nil {
+		return false,nil
+	}
+
+	var res Result
+	if err = json.Unmarshal(body, &res); err != nil {
+		return false,nil
+	}
+	return true,res.Data
 }
\ No newline at end of file

--
Gitblit v1.8.0