From 1738d535cb0c1678bded3be491cf14e66107de8c Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Wed, 21 Jul 2021 15:25:51 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index ffea09b1b..906dc4a20 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -497,7 +497,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) { hexLenqr = "0" + hexLenqr } } - result = strings.ReplaceAll(result, byteSignQrCenter, hexSignQrCenter+hexSignQr+hexLenqr+"000a") + result = strings.ReplaceAll(result, byteSignQrCenter, hexSignQrCenter+hexSignQr+hexLenqr+"00") result = strings.ReplaceAll(result, byteSignQrCenterE, hexSignQrEnd) } if strings.Contains(result, byteSignQrLeft) && strings.Contains(result, byteSignQrLeftE) { @@ -508,7 +508,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) { hexLenqr = "0" + hexLenqr } } - result = strings.ReplaceAll(result, byteSignQrLeft, hexSignQrLeft+hexSignQr+hexLenqr+"000a") + result = strings.ReplaceAll(result, byteSignQrLeft, hexSignQrLeft+hexSignQr+hexLenqr+"00") result = strings.ReplaceAll(result, byteSignQrLeftE, hexSignQrEnd) } if strings.Contains(result, byteSignQrRight) && strings.Contains(result, byteSignQrRightE) { @@ -519,7 +519,7 @@ func replaceContent(content string, printMsg *model.PrintMsg) (result string) { hexLenqr = "0" + hexLenqr } } - result = strings.ReplaceAll(result, byteSignQrRight, hexSignQrRight+hexSignQr+hexLenqr+"000a") + result = strings.ReplaceAll(result, byteSignQrRight, hexSignQrRight+hexSignQr+hexLenqr+"00") result = strings.ReplaceAll(result, byteSignQrRightE, hexSignQrEnd) } if strings.Contains(result, byteSignSound) && strings.Contains(result, byteSignSoundE) {