tcp server 用于给andriod 客户端定时发送消息
liuxiaolong
2020-07-31 aad174123f43483f06f695bc51730bc0e907e69d
esutil/EsClient.go
@@ -132,6 +132,7 @@
         if len(tiArr) > 0 {
            ti := tiArr[0]
            d["picSmUrl"] = ti.PicSmUrl
            d["targetType"] = ti.TargetType
            if ti.TargetType == "FaceDetect" {
               sLabelStr, ok := source["showLabels"]
               if ok {
@@ -149,11 +150,11 @@
               if bInfos,ok := source["baseInfo"]; ok && bInfos != nil {
                  bd := getSourceBaseInfo(bInfos)
                  d["baseInfo"] = bd
                  d["baseInfo"] = bd //比对到的底库的人
               } else {
                  d["baseInfo"] = []interface{}{}
               }
               d["sdkType"] = "人脸"
               d["sdkType"] = source["taskName"]
            } else {
               d["sdkType"] = source["taskName"]
               d["picSmUrl"] = d["picMaxUrl"]