This commit is contained in:
邹宗楠
2025-02-06 13:36:53 +08:00
parent 3251816066
commit 810eefd386
4 changed files with 118 additions and 34 deletions

View File

@@ -382,7 +382,7 @@ func DoPrintMsg(appID int, msgID, printNo, content string, orderNo string) (err
Status: event.PrintMsgWait,
}
t, ok := event.PrintObject[printNo]
t, ok := event.PrintObject.GetPrintObj(printNo)
if ok {
t.Lock()
defer t.Unlock()