Selaa lähdekoodia

fix:es搜索接口

zqbao 8 kuukautta sitten
vanhempi
commit
155b0c33be
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  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
 }