1
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user