From b76a23b9d1f571d611e5bdd74026ab586cc0dc08 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Tue, 3 Dec 2024 23:33:52 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=9D=E8=AF=95=E7=BB=99=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E5=88=B0elasticsearch=E7=9A=84=E6=96=87=E6=A1=A3=E5=8A=A0=5Fid?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/candle.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/candle.go b/core/candle.go index 233c156..9ce5419 100644 --- a/core/candle.go +++ b/core/candle.go @@ -180,7 +180,7 @@ func hashString(input string) string { // 转换为十六进制字符串 hashHex := hex.EncodeToString(hash[:]) // 返回前20位 - return hashHex[:20] + return hashHex[:23] } func (cl *Candle) ToStruct(core *Core) error {