From ea73635848800c2072916fe6a8db371fb26fd5de Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=AE=97=E6=A5=A0?= Date: Thu, 6 Mar 2025 14:24:42 +0800 Subject: [PATCH] 1 --- business/jxstore/act/act.go | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 21444b99a..7a130217b 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -800,9 +800,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i } actIdResult := make(map[string]int64, 0) mtApi := mtwm.GetAPI(vendorOrgCode, storeID, storeDetail.VendorStoreID) - actResult, fileInfoList, err6 := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData) - globals.SugarLogger.Debugf("-----------actResult : %s", utils.Format4Output(actResult, false)) - globals.SugarLogger.Debugf("-----------err6 : %v,%d", err6, actType) + actResult, fileInfoList, _ := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData) for _, v := range actResult { var ( actStoreSkuMapUpdate *model.ActStoreSkuMap @@ -834,10 +832,7 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i actData2[i-1].Sequence = i actData2[i-1].OrderLimit = 1 } - a, b, c := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData2) - globals.SugarLogger.Debugf("-----------a : %s", utils.Format4Output(a, false)) - globals.SugarLogger.Debugf("-----------b : %s", utils.Format4Output(b, false)) - globals.SugarLogger.Debugf("-----------c : %v", c) + mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData2) } for _, v := range fileInfoList { err2 += fmt.Sprintf("创建失败!门店ID:[%v],商品ID:[%v],原因:[%v]", storeID, v.AppFoodCode, v.ErrorMsg)