From e5ea7a485a807ca7ce826c5de0ace1cf81a09b03 Mon Sep 17 00:00:00 2001 From: lucas <249324454@qq.com> Date: Mon, 18 Nov 2024 20:51:34 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E6=97=A5=E5=BF=97=E4=B8=AD=E7=9A=84?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dbHelper/elasticsearchHelper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbHelper/elasticsearchHelper.go b/dbHelper/elasticsearchHelper.go index 1042bf8..1a64afc 100644 --- a/dbHelper/elasticsearchHelper.go +++ b/dbHelper/elasticsearchHelper.go @@ -191,7 +191,7 @@ func (the *ESHelper) BulkWrite(index, reqBody string) { if res.StatusCode != 200 && res.StatusCode != 201 { log.Panicf("es 写入失败,err=%s \n body=%s", string(respBody), reqBody) } - log.Printf("es 写入[%s],完成,res=%s ", index, reqBody) + log.Printf("es 写入[%s],完成,res=%s ", index, respBody) }