Browse Source

检查sku有效性

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

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

@ -290,6 +290,10 @@ namespace BBWY.Server.Business
throw new BusinessException("只能在任务处于等待状态时才能开始");
#region 检查sku有效性
#endregion
IList<GiftTemplateSkuRequest> giftTemplateSkuList = null; //赠品模板sku
var motherTemplateSku = string.Empty; //奶妈模板的sku

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

@ -716,6 +716,7 @@ namespace BBWY.Server.Business
req.jdPrices = req.jdPrices.Substring(0, req.jdPrices.Length - 1);
req.bindType = req.bindType.Substring(0, req.bindType.Length - 1);
req.num = req.num.Substring(0, req.num.Length - 1);
req.promoPrices = req.promoPrices.Substring(0, req.promoPrices.Length - 1);
var res = jdClient.Execute(req, token, DateTime.Now.ToLocalTime());
if (res.IsError)

Loading…
Cancel
Save