Browse Source

延长查询赠品时间

AddValidOverTime
shanji 2 years ago
parent
commit
b57526cb43
  1. 2
      BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs
  2. 4
      BBWY.Server.Business/PlatformSDK/JDBusiness.cs

2
BBWY.Server.Business/EvaluationAssistant/EvaluationAssistantBusiness.cs

@ -610,7 +610,7 @@ namespace BBWY.Server.Business
MainProductSkuInStore = mainProductSkuInStore, MainProductSkuInStore = mainProductSkuInStore,
OuterId = dbPromotionTask.OuterId OuterId = dbPromotionTask.OuterId
}, GetYunDingRequestHeader(), HttpMethod.Post, timeOutSeconds: 700); }, GetYunDingRequestHeader(), HttpMethod.Post, timeOutSeconds: 800);
if (httpApiResult.StatusCode != System.Net.HttpStatusCode.OK) if (httpApiResult.StatusCode != System.Net.HttpStatusCode.OK)
throw new BusinessException(httpApiResult.Content); throw new BusinessException(httpApiResult.Content);

4
BBWY.Server.Business/PlatformSDK/JDBusiness.cs

@ -939,7 +939,7 @@ namespace BBWY.Server.Business
throw new BusinessException($"获取主商品品牌失败-{(string.IsNullOrEmpty(res.ErrorMsg) ? res.ErrMsg : res.ErrorMsg)}"); throw new BusinessException($"获取主商品品牌失败-{(string.IsNullOrEmpty(res.ErrorMsg) ? res.ErrMsg : res.ErrorMsg)}");
if (res.Json == null) if (res.Json == null)
res.Json = JObject.Parse(res.Body); res.Json = JObject.Parse(res.Body);
brandName = res.Json["jingdong_ware_read_findWareById_responce"]["ware"].Value<string>("brandName"); brandName = res.Json["jingdong_ware_read_findWareById_responce"]["ware"].Value<string>("brandName");
} }
#endregion #endregion
@ -1187,7 +1187,7 @@ namespace BBWY.Server.Business
#region 查询上架的赠品 #region 查询上架的赠品
stepText = "查询上架的赠品SKU"; stepText = "查询上架的赠品SKU";
Thread.Sleep(60 * 1000); Thread.Sleep(90 * 1000);
searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList); searchProductSkuRequest.Sku = string.Join(",", giftSkuIdList);
searchProductSkuRequest.CheckStep = "上架的赠品"; searchProductSkuRequest.CheckStep = "上架的赠品";
try try

Loading…
Cancel
Save