From a88cd5f3c40d32fb48e80873667455f1424ae1cf Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期日, 23 八月 2020 16:28:40 +0800
Subject: [PATCH] add w h

---
 EsClient.go |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/EsClient.go b/EsClient.go
index a1712d0..09b1861 100644
--- a/EsClient.go
+++ b/EsClient.go
@@ -564,7 +564,9 @@
 			tmpHitSource["stayTime"] = stayTime
 			tmpHitSource["endTBackGroundPicUrl"] = source["picMaxUrl"].([]interface{})
 			tmpHitSource["endTFacePicUrl"] = targetInfo["picSmUrl"].(string)
+			if source["picWH"] != nil {
 			tmpHitSource["picWH"] = source["picWH"].(map[string]interface{})
+			}
 			hitsSources = append(hitsSources, tmpHitSource)
 		}
 		allSource = append(allSource, hitsSources...)

--
Gitblit v1.8.0