From 544e64dc294ae91e0932583649e8547d225d9252 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Tue, 27 Aug 2024 14:09:21 +0800 Subject: [PATCH] 1 --- business/jxstore/cms/api_print.go | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/business/jxstore/cms/api_print.go b/business/jxstore/cms/api_print.go index 7f84becf2..c09941eb2 100644 --- a/business/jxstore/cms/api_print.go +++ b/business/jxstore/cms/api_print.go @@ -9,8 +9,10 @@ import ( "git.rosy.net.cn/jx-callback/business/jxutils" "git.rosy.net.cn/jx-callback/business/model" "git.rosy.net.cn/jx-callback/business/model/dao" + "git.rosy.net.cn/jx-callback/globals" "net" "regexp" + "strings" "time" ) @@ -398,9 +400,12 @@ func DoPrintMsg(appID int, msgID, printNo, content string, orderNo string) (err t.MsgMap[printNo] <- printMsg printMsg.Status = event.PrintMsgAlreadyLoad }*/ - + if strings.Contains(printMsg.Content, "3301223263215186716") { + globals.SugarLogger.Debugf("----------:=%s", utils.Format4Output(printMsg, false)) + } dao.WrapAddIDCULDEntity(printMsg, "") if err = dao.CreateEntity(db, printMsg); err != nil { + globals.SugarLogger.Debugf("----------:=%v", err) return err } return err