From 92c12c9a3786c62549cc776b224fac837f86c64e Mon Sep 17 00:00:00 2001 From: suyl <770236076@qq.com> Date: Fri, 2 Jul 2021 14:21:19 +0800 Subject: [PATCH] aa --- business/jxstore/event/event_tcp.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/business/jxstore/event/event_tcp.go b/business/jxstore/event/event_tcp.go index a6b831198..8e43c34ab 100644 --- a/business/jxstore/event/event_tcp.go +++ b/business/jxstore/event/event_tcp.go @@ -349,10 +349,10 @@ func replaceContent(content string) (result string) { result = strings.ReplaceAll(result, k, v) } } - if strings.Contains(result, byteSignCenter) && strings.Contains(result, byteSignCenterE) { - result = strings.ReplaceAll(result, byteSignCenter, hexSignCenter) - result = strings.ReplaceAll(result, byteSignCenterE, hexSignLeft) - } + //if strings.Contains(result, byteSignCenter) && strings.Contains(result, byteSignCenterE) { + result = strings.ReplaceAll(result, byteSignCenter, hexSignCenter) + result = strings.ReplaceAll(result, byteSignCenterE, hexSignLeft) + //} if strings.Contains(result, byteSignLeft) && strings.Contains(result, byteSignLeftE) { result = strings.ReplaceAll(result, byteSignLeft, hexSignLeft) result = strings.ReplaceAll(result, byteSignLeftE, hexSignLeft) @@ -361,10 +361,10 @@ func replaceContent(content string) (result string) { result = strings.ReplaceAll(result, byteSignRight, hexSignRight) result = strings.ReplaceAll(result, byteSignRightE, hexSignLeft) } - if strings.Contains(result, byteSignBig) && strings.Contains(result, byteSignBigE) { - result = strings.ReplaceAll(result, byteSignBig, hexSignBig) - result = strings.ReplaceAll(result, byteSignBigE, hexSignNormal) - } + //if strings.Contains(result, byteSignBig) && strings.Contains(result, byteSignBigE) { + result = strings.ReplaceAll(result, byteSignBig, hexSignBig) + result = strings.ReplaceAll(result, byteSignBigE, hexSignNormal) + //} if strings.Contains(result, byteSignHighBig) && strings.Contains(result, byteSignHighBigE) { result = strings.ReplaceAll(result, byteSignHighBig, hexSignHighBig) result = strings.ReplaceAll(result, byteSignHighBigE, hexSignNormal)