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) {