Browse Source

no message

zhangchuanxing 2 tháng trước cách đây
mục cha
commit
0a879ca37b
1 tập tin đã thay đổi với 5 bổ sung5 xóa
  1. 5 5
      services/es_comprehensive.go

+ 5 - 5
services/es_comprehensive.go

@@ -549,7 +549,7 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 			mapItems[fmt.Sprint("activity", v.ActivityId)].Activity = v
 		}
 	}
-	fmt.Println(industrialResourceIdsHz)
+	//fmt.Println(industrialResourceIdsHz)
 	//产业资源包
 	if len(industrialResourceIdsHz) > 0 {
 		pars = make([]interface{}, 0)
@@ -587,14 +587,14 @@ func GetResourceDataEsList(list []*SearchComprehensiveItem, user *models.WxUserI
 			if v.TimeLineData == "" {
 				v.ListTimeLine = make([]models.TimeLineReportResp, 0)
 			} else {
-				fmt.Println(v.TimeLineData)
+
 				if err = json.Unmarshal([]byte(v.TimeLineData), &v.ListTimeLine); err != nil {
-					fmt.Println(err)
+
 					e = errors.New("Unmarshal, Err: " + e.Error())
-					return
+					//return
 				}
 			}
-			fmt.Println(v.ListTimeLine)
+			//fmt.Println(v.ListTimeLine)
 			v.Source = 1
 			v.UpdateTime = v.PublishDate
 			mapItems[fmt.Sprint("industrialsourceHz", v.IndustrialManagementId)].IndustrialResource = v