瀏覽代碼

fix:es搜索接口

zqbao 8 月之前
父節點
當前提交
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
 }