From c0d33072098bf68d1a9734c31e01756a5b7c50a8 Mon Sep 17 00:00:00 2001
From: liuxiaolong <736321739@qq.com>
Date: 星期四, 23 五月 2019 18:30:34 +0800
Subject: [PATCH] add camera note

---
 client.go |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/client.go b/client.go
index fc23c07..64fc005 100644
--- a/client.go
+++ b/client.go
@@ -11,10 +11,16 @@
 	DoDeleteRequest(url string, contentType string, body map[string]interface{}, headers map[string]string) ([]byte, error)
 }
 
+var BASIC_URL            = "http://192.168.1.11:8001"
+
 const (
-	BASIC_URL            = "http://192.168.1.115:8000"
 	DATA_URL_PREFIX      = "/data/api-v"
 	CONTENT_TYPE_FORM    = "application/x-www-form-urlencoded"
 	CONTENT_TYPE_MULFORM = "multipart/form-data"
 	CONTENT_TYPE_JSON    = "application/json"
 )
+
+//鍒濆鍖杁bserver鐨勫湴鍧�鍜岀鍙�
+func Init(ip string,port int){
+	BASIC_URL = "http://"+ ip + ":" + string(port)
+}
\ No newline at end of file

--
Gitblit v1.8.0