esutil/EsClient.go
@@ -247,10 +247,12 @@ if err !=nil { return "" } filePath := resp.FilePath videoUrl = "" if !strings.Contains(filePath, "/cut"){ videoUrl = "" fmt.Printf("videoReqUrl:%s ,imgKey:%s ,picDate:%s ,cameraId:%s ,filePath:%s \n ",reqUrl,imgKey,picDate,cameraId,filePath) } else { strArr := strings.Split(filePath, "/cut") ngxUrl := ngxMap[indeviceId] @@ -259,9 +261,8 @@ } } if videoUrl == "" { fmt.Printf("videoReqUrl:%s ,imgKey:%s ,picDate:%s ,cameraId:%s ",reqUrl,imgKey,picDate,cameraId) fmt.Println("resp: ",resp) } return videoUrl }