From ca5414e26c84ad491915063eefbc92e4294b5a31 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Mon, 26 Feb 2024 17:10:42 +0800 Subject: [PATCH] 1 --- business/partner/purchase/mtwm/act.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/business/partner/purchase/mtwm/act.go b/business/partner/purchase/mtwm/act.go index 8e84b07ee..349999c6e 100644 --- a/business/partner/purchase/mtwm/act.go +++ b/business/partner/purchase/mtwm/act.go @@ -141,6 +141,11 @@ func cancelOneShopAct(act *model.Act2, vendorStoreID string, actStoreSku []*mode if list := storeSku2ActData4Delete(actStoreSku, nil /*model.IsSyncStatusNeedDelete*/); len(list) > 0 { if globals.EnableMtwmStoreWrite { failedList2, err2 := api.MtwmAPI.RetailDiscountDelete2(vendorStoreID, jxActType2Mtwm(act.Type), list) + globals.SugarLogger.Debugf("==============failedList2 := %s", utils.Format4Output(failedList2, false)) + globals.SugarLogger.Debugf("==============err2 := %v", err2) + globals.SugarLogger.Debugf("==============vendorStoreID := %s", utils.Format4Output(vendorStoreID, false)) + globals.SugarLogger.Debugf("============== jxActType2Mtwm(act.Type) := %s", utils.Format4Output(jxActType2Mtwm(act.Type), false)) + globals.SugarLogger.Debugf("==============list := %s", utils.Format4Output(list, false)) actStoreSkuMap := make(map[string]*model.ActStoreSku2) for _, v := range actStoreSku { actStoreSkuMap[v.VendorActID] = v