This commit is contained in:
邹宗楠
2022-10-21 16:18:56 +08:00
parent c219086e7e
commit 718b9991c1
2 changed files with 2 additions and 1 deletions

View File

@@ -361,6 +361,7 @@ func changePrinterStatus(printNo string, status int) {
//按打印机方提供的文档来的
func buildMsg(printMsg *model.PrintMsg) (data []byte, err error) {
globals.SugarLogger.Debugf("buildMsg===========%s", utils.Format4Output(printMsg, false))
var (
content = printMsg.Content
orderNo = printMsg.OrderNo

View File

@@ -15,7 +15,7 @@ func TestPrintMsg(t *testing.T) {
msg := &model.PrintMsg{
ModelIDCULD: model.ModelIDCULD{},
PrintNo: "20220707000002",
PrintNo: "120221008001001",
Content: "<center>居中文字</center>",
OrderNo: "1", // 2147483648111
Status: 0,