diff --git a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs index a55d2cbb..ff9835ae 100644 --- a/BBWY.Server.Business/PlatformSDK/JDBusiness.cs +++ b/BBWY.Server.Business/PlatformSDK/JDBusiness.cs @@ -1126,7 +1126,7 @@ namespace BBWY.Server.Business } Thread.Sleep(30 * 1000); - stepText = "从sku列表接口匹配刚上架的赠品"; + stepText = "查询上架的赠品"; giftSkuList = new List(); var newMainProductSkuList = GetProductSkuList(new SearchProductSkuRequest() { @@ -1139,7 +1139,7 @@ namespace BBWY.Server.Business }); //记录上架返回值 - nLogManager.Default().Info($"任务Id {request.Id} 店铺Id {request.ShopId} 上架赠品sku查询返回值 {JsonConvert.SerializeObject(newMainProductSkuList)}"); + nLogManager.Default().Info($"查询上架的赠品,任务Id {request.Id} 店铺Id {request.ShopId}, {JsonConvert.SerializeObject(newMainProductSkuList)}"); foreach (var ps in newMainProductSkuList) { @@ -1229,22 +1229,22 @@ namespace BBWY.Server.Business #endregion - #region 查询上架的赠品 - stepText = "查询上架的赠品SKU"; - Thread.Sleep(60 * 1000); - searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList); - searchProductSkuRequest.CheckStep = "上架的赠品"; - try - { - giftSkuList = GetProductSkuList(searchProductSkuRequest); - } - catch - { - RollBackWhenStartPromotionError(request.AppKey, request.AppSecret, request.AppToken, giftSkuIdList, request.MainProductSpu, request.FullTitle, brandName, haveGiftTemplateSku); - throw; - } - - #endregion + //#region 查询上架的赠品 + //stepText = "查询上架的赠品SKU"; + //Thread.Sleep(60 * 1000); + //searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList); + //searchProductSkuRequest.CheckStep = "上架的赠品"; + //try + //{ + // giftSkuList = GetProductSkuList(searchProductSkuRequest); + //} + //catch + //{ + // RollBackWhenStartPromotionError(request.AppKey, request.AppSecret, request.AppToken, giftSkuIdList, request.MainProductSpu, request.FullTitle, brandName, haveGiftTemplateSku); + // throw; + //} + + //#endregion } #region 创建活动