From 7c5aefe607bb3179eae2c88bc75e6b07ca501bf8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 21 Jul 2022 09:41:36 +0800 Subject: [PATCH] 1 --- business/jxstore/event/event_tcp_utils.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/jxstore/event/event_tcp_utils.go b/business/jxstore/event/event_tcp_utils.go index d71554eb9..2a122e688 100644 --- a/business/jxstore/event/event_tcp_utils.go +++ b/business/jxstore/event/event_tcp_utils.go @@ -368,6 +368,8 @@ func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) { ) //写入数据 orderNoHexH, orderNoHexL = int2h8l8(int64(orderNo)) + // 将数据与模板组装 + printDataGBK, _ := jxutils.Utf8ToGbk([]byte(replaceContentOther(content))) printData = hex.EncodeToString(printDataGBK) printData = replaceContent(printData, printMsg)