From c24ff3eadae872de964efe41c062b5edb58a4516 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期五, 14 六月 2019 14:10:17 +0800
Subject: [PATCH] change BASIC_URL

---
 api_test.go |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/api_test.go b/api_test.go
index 620a255..056b3ce 100644
--- a/api_test.go
+++ b/api_test.go
@@ -10,7 +10,7 @@
 
 func TestGetLocalCameraTree(t *testing.T) {
 	var api AreaApi
-	body := api.GetLocalCameraTree(0, 0, "c")
+	body := api.GetLocalCameraTree("0", "0", "c")
 	fmt.Println(body)
 }
 
@@ -112,4 +112,25 @@
 	var api CameraApi
 	cameras := api.FindAll()
 	fmt.Println(cameras)
+}
+
+//鏌ユ壘鎵�鏈夌殑澶氳竟褰�
+func TestCameraApi_FindAllPolygons(t *testing.T) {
+	var api CameraApi
+	data := api.FindAllPolygons()
+	fmt.Println("polygons:",data)
+}
+
+//鏌ユ壘鎵�鏈夋椂闂磋鍒�
+func TestCameraApi_FindAllTimeRules(t *testing.T) {
+	var api CameraApi
+	_, rules := api.FindAllTimeRules()
+	fmt.Println("timeRules:",rules)
+}
+
+//鏌ユ壘鎵�鏈変换鍔¤鍒�
+func TestCameraTaskArgsApi_FindAll(t *testing.T) {
+	var api CameraTaskArgsApi
+	all := api.FindAll()
+	fmt.Println("all:",all)
 }
\ No newline at end of file

--
Gitblit v1.8.0