From e2a42eac9b9b6965b9b49e880bf45f3f593c5cfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 26 Jul 2022 15:18:43 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index a77efc17a..de9226e52 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -520,7 +520,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) { //soundLenH, soundLenX := int2h8l8(int64((len(realSound) + len("0101")) / 2)) //result = strings.ReplaceAll(result, byteSignSound, hexSignSound+allLen+"fd"+soundLenH+soundLenX+"0100"+hexPrefixStr) result = strings.ReplaceAll(result, sound, "") - result = strings.ReplaceAll(result, byteSignSound, hexSignSound+voice) + result = strings.ReplaceAll(result, byteSignSound, hexSignSound+"02"+voice) //} } }