From 6e9ad43da2e9c189f25e49643d62e99f6e993607 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Wed, 26 Feb 2025 09:42:30 +0800 Subject: [PATCH] 1 --- business/partner/purchase/mtwm/callback.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/business/partner/purchase/mtwm/callback.go b/business/partner/purchase/mtwm/callback.go index 28c86832a..89ff6e114 100644 --- a/business/partner/purchase/mtwm/callback.go +++ b/business/partner/purchase/mtwm/callback.go @@ -70,6 +70,8 @@ func OnImMsg(msg *mtwmapi.ImCallbackMsg) (response *mtwmapi.CallbackResponse) { if err = json.Unmarshal(str, &PushContentReq); err != nil { return mtwmapi.SignatureIsNotOk } + globals.SugarLogger.Debugf("----------msg := %s", utils.Format4Output(msg, false)) + globals.SugarLogger.Debugf("----------PushContentReq := %s", utils.Format4Output(PushContentReq, false)) storeDetail, err2 := dao.GetStoreDetailByVendorStoreID(dao.GetDB(), PushContentReq.AppPoiCode, model.VendorIDMTWM, utils.Int2Str(PushContentReq.AppID)) if err2 != nil || storeDetail == nil { switch beego.BConfig.RunMode {