tcp server 用于给andriod 客户端定时发送消息
liuxiaolong
2019-05-30 932f98396a500fff36855d6a8204ab23f4cd274d
esutil/EsClient.go
@@ -242,6 +242,7 @@
   if err !=nil{
      return ""
   }
   var resp RespVideo
   err = json.Unmarshal(respBytes, &resp)
   if err !=nil {
@@ -261,7 +262,12 @@
      }
   }
   if videoUrl == ""{
      fmt.Println("resp: ",resp)
      respMap := make(map[string]interface{},0)
      err := json.Unmarshal(respBytes, &respMap)
      if err !=nil {
         fmt.Println("resp UnmarshalToMap err: ",err)
      }
      fmt.Println("resp: ",respMap)
   }
   return videoUrl
}