From 3b0af01f75bf4d07134a093c9cdd9f260058a01c Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Mon, 12 Jul 2021 15:53:22 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index be0cfea98..1732b1711 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -483,9 +483,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) { if len(allLen) < 2 { allLen = "0" + allLen } - //soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2)) - soundLenH := "00" - soundLenX := "34" + soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2)) result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr) } }