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