entites.go
@@ -32,6 +32,19 @@ Reserved string } type TreeMenu struct { Id string `json:"id" ` Type string `json:"type"` Name string `json:"name"` Treenodes []TreeMenu `json:"children"` } type TreeNode struct { Id int Name string Parentid int } //摄像机结构 type Camera struct { Id string