zqbao 8 месяцев назад
Родитель
Сommit
155b0c33be
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      services/elastic/report.go

+ 0 - 3
services/elastic/report.go

@@ -164,12 +164,9 @@ func SearchReportV2(keyWord string, classifyIdFirsts []int, classifyIdSeconds []
 		return
 	}
 
-	fmt.Print("结果正常:")
-	fmt.Println(searchResp.Status)
 	if searchResp.Status != 0 {
 		err = errors.New("查询失败")
 	}
-	total = searchResp.TotalHits()
 	return
 }