From a47ddaef3711c5a34b24886a7639c96eb4e354df Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 12 十二月 2019 12:01:13 +0800
Subject: [PATCH] add FindAllTaskDefaultArgs
---
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