尝试给上报到elasticsearch的文档加_id
This commit is contained in:
parent
95997cd79d
commit
b76a23b9d1
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user