This commit is contained in:
邹宗楠
2024-02-28 10:10:06 +08:00
parent e17e9db240
commit e0c1a93d66

View File

@@ -383,6 +383,8 @@ func DoPrintMsg(appID int, msgID, printNo, content string, orderNo string) (err
t, ok := event.PrintObject[printNo]
if ok {
t.Lock()
defer t.Unlock()
t.MsgMap[printNo] <- printMsg
printMsg.Status = event.PrintMsgAlreadyLoad
}