From 472438a8407b9e44da58e74c65937ff08495c047 Mon Sep 17 00:00:00 2001
From: chenshijun <csj_sky@126.com>
Date: 星期一, 28 十月 2019 16:22:53 +0800
Subject: [PATCH] 补全平台信息返回值

---
 entites.go |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)

diff --git a/entites.go b/entites.go
index 5406f40..c06bc12 100644
--- a/entites.go
+++ b/entites.go
@@ -8,8 +8,22 @@
 	RtspServrPort  int    `json:"rtspservrport"`  //RTSP鏈嶅姟鐨勭鍙�
 	HTTPClientIP   string `json:"httpclientip"`   //HTTP瀹㈡埛绔殑ip锛堢敤浜庢姤璀﹂�氱煡锛屼竴鑸笉璁剧疆锛�
 	HTTPClientPort int    `json:"httpclientport"` //HTTP瀹㈡埛绔殑绔彛锛堢敤浜庢姤璀﹂�氱煡锛屼竴鑸笉璁剧疆锛�
+	RegisterAuth   bool   `json:"registerauth"`   //鏄惁鍚敤娉ㄥ唽閴存潈 榛樿鍚敤
+	Md5Auth        bool   `json:"md5auth"`        //鏄惁鍚敤MD5閴存潈  榛樿鍚敤
+	DbAuth         bool   `json:"dbauth"`         //鏄惁鍚敤鏁版嵁搴撻壌鏉�  榛樿涓嶅惎鐢�
+	GbUsername     string `json:"gbusername"`     //鍥芥爣閴存潈鐢ㄦ埛鍚�
+	GbPasswd       string `json:"gbpasswd"`       //鍥芥爣閴存潈瀵嗙爜
+	NatIP          string `json:"natip"`          //绌跨綉ip
+	TotalDevNum    string `json:"totalnum"`       //鎵�鏈夎澶囨�绘暟
+	AliveDevNum    string `json:"onlinenum"`      //鍦ㄧ嚎璁惧鎬绘暟
+	Version        string `json:"version"`        //鍥芥爣杞欢鐗堟湰
 }
 
+//{"errcode":0,"errdesc":"OK","name":"璐濇�濈鍥芥爣鏈嶅姟","ipaddr":"172.16.50.51","httpserverport":8060,
+// "publicid":"44120000002000000013","gbserverport":7060,"rtspservrport":7554,"httpclientip":"",
+// "httpclientport":0,"registerauth":true,"md5auth":true,"dbauth":false,"gbusername":"44120000002000000013",
+// "gbpasswd":"123456","natip":"","totalnum":438,"onlinenum":425,"version":"v2.7.1.20191022"}
+
 //GbResult 杩斿洖鍊间俊鎭�
 type GbResult struct {
 	ErrCode int    `json:"errcode"`

--
Gitblit v1.8.0