diff --git a/BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs b/BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs index 55709d5f..5d8b4ef8 100644 --- a/BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs +++ b/BBWY.Server.Business/EarlyWarning/JD/JDStockNumWarningBusiness.cs @@ -182,7 +182,7 @@ namespace BBWY.Server.Business } #region 预警检查结果日志 - //nLogManager.GetLogger($"库存预警-{shop.ShopName}").Info(""); + nLogManager.GetLogger($"库存预警-{shop.ShopName}").Info($"sku {sku}, 7天总销量 {_7dItemTotal}, 7天日均销量 {_7dAvgItemTotal}, 总库存 {totalStockNum}, 预估销售剩余天数 {lessDay}, 是否触发预警 {isWarning}"); #endregion if (isWarning) @@ -223,7 +223,7 @@ namespace BBWY.Server.Business } }, null, HttpMethod.Post); if (result.StatusCode != System.Net.HttpStatusCode.OK) - throw new Exception($"{shop.ShopName} 发送钉钉库存预警失败"); + throw new Exception($"{shop.ShopName} 发送钉钉库存预警失败 {result.Content}"); } } catch (Exception ex)