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

---
 client.go   |    2 +-
 api_test.go |    3 +++
 2 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/api_test.go b/api_test.go
index e5a4e7d..056b3ce 100644
--- a/api_test.go
+++ b/api_test.go
@@ -121,11 +121,14 @@
 	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()
diff --git a/client.go b/client.go
index 20bb145..64fc005 100644
--- a/client.go
+++ b/client.go
@@ -11,7 +11,7 @@
 	DoDeleteRequest(url string, contentType string, body map[string]interface{}, headers map[string]string) ([]byte, error)
 }
 
-var BASIC_URL            = "http://127.0.0.1:8001"
+var BASIC_URL            = "http://192.168.1.11:8001"
 
 const (
 	DATA_URL_PREFIX      = "/data/api-v"

--
Gitblit v1.8.0