From 481de6b1b674563040b9a7ecc61199e300260b71 Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 2 Jul 2021 16:56:58 +0800 Subject: [PATCH] br --- business/jxstore/event/event_tcp.go | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index f79741325..a0029c169 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -352,39 +352,39 @@ func replaceContent(content string) (result string) { } if strings.Contains(result, byteSignCenter) && strings.Contains(result, byteSignCenterE) { result = strings.ReplaceAll(result, byteSignCenter, hexSignCenter) - result = strings.ReplaceAll(result, byteSignCenterE, hexSignLeft) + result = strings.ReplaceAll(result, byteSignCenterE, hexSignBROrEXE+hexSignLeft) } if strings.Contains(result, byteSignLeft) && strings.Contains(result, byteSignLeftE) { result = strings.ReplaceAll(result, byteSignLeft, hexSignLeft) - result = strings.ReplaceAll(result, byteSignLeftE, hexSignLeft) + result = strings.ReplaceAll(result, byteSignLeftE, hexSignBROrEXE+hexSignLeft) } if strings.Contains(result, byteSignRight) && strings.Contains(result, byteSignRightE) { result = strings.ReplaceAll(result, byteSignRight, hexSignRight) - result = strings.ReplaceAll(result, byteSignRightE, hexSignLeft) + result = strings.ReplaceAll(result, byteSignRightE, hexSignBROrEXE+hexSignLeft) } if strings.Contains(result, byteSignBig) && strings.Contains(result, byteSignBigE) { result = strings.ReplaceAll(result, byteSignBig, hexSignBig) - result = strings.ReplaceAll(result, byteSignBigE, hexSignNormal) + result = strings.ReplaceAll(result, byteSignBigE, hexSignBROrEXE+hexSignNormal) } if strings.Contains(result, byteSignHighBig) && strings.Contains(result, byteSignHighBigE) { result = strings.ReplaceAll(result, byteSignHighBig, hexSignHighBig) - result = strings.ReplaceAll(result, byteSignHighBigE, hexSignNormal) + result = strings.ReplaceAll(result, byteSignHighBigE, hexSignBROrEXE+hexSignNormal) } if strings.Contains(result, byteSignWideBig) && strings.Contains(result, byteSignWideBigE) { result = strings.ReplaceAll(result, byteSignWideBig, hexSignWideBig) - result = strings.ReplaceAll(result, byteSignWideBigE, hexSignNormal) + result = strings.ReplaceAll(result, byteSignWideBigE, hexSignBROrEXE+hexSignNormal) } if strings.Contains(result, byteSignQrCenter) && strings.Contains(result, byteSignQrCenterE) { result = strings.ReplaceAll(result, byteSignQrCenter, hexSignQrCenter+hexSignQr) - result = strings.ReplaceAll(result, byteSignQrCenterE, hexSignQrEnd) + result = strings.ReplaceAll(result, byteSignQrCenterE, hexSignBROrEXE+hexSignQrEnd) } if strings.Contains(result, byteSignQrLeft) && strings.Contains(result, byteSignQrLeftE) { result = strings.ReplaceAll(result, byteSignQrLeft, hexSignQrLeft+hexSignQr) - result = strings.ReplaceAll(result, byteSignQrLeftE, hexSignQrEnd) + result = strings.ReplaceAll(result, byteSignQrLeftE, hexSignBROrEXE+hexSignQrEnd) } if strings.Contains(result, byteSignQrRight) && strings.Contains(result, byteSignQrRightE) { result = strings.ReplaceAll(result, byteSignQrRight, hexSignQrRight+hexSignQr) - result = strings.ReplaceAll(result, byteSignQrRightE, hexSignQrEnd) + result = strings.ReplaceAll(result, byteSignQrRightE, hexSignBROrEXE+hexSignQrEnd) } return result }