diff --git a/business/jxstore/act/act.go b/business/jxstore/act/act.go index 2cbcd8993..56ca81f4d 100644 --- a/business/jxstore/act/act.go +++ b/business/jxstore/act/act.go @@ -800,7 +800,10 @@ 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, _ := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData) + actResult, fileInfoList, err6 := mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData) + globals.SugarLogger.Debugf("-----------actResult : %s", utils.Format4Output(actResult, false)) + globals.SugarLogger.Debugf("-----------fileInfoList : %s", utils.Format4Output(fileInfoList, false)) + globals.SugarLogger.Debugf("-----------err6 : %v", err6) for _, v := range actResult { var ( actStoreSkuMapUpdate *model.ActStoreSkuMap @@ -832,7 +835,10 @@ func CreateActForMtByOrder(ctx *jxcontext.Context, act *model.Act, vendorIDs []i actData2[i-1].Sequence = i actData2[i-1].OrderLimit = 1 } - mtApi.RetailDiscountBatchSave2(storeDetail.VendorStoreID, actType, actData2) + 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) } for _, v := range fileInfoList { err2 += fmt.Sprintf("创建失败!门店ID:[%v],商品ID:[%v],原因:[%v]", storeID, v.AppFoodCode, v.ErrorMsg)