|
|
@ -148,6 +148,13 @@ namespace BBWY.Server.Business |
|
|
|
#region 评价助手任务
|
|
|
|
public void AddOrEditPromotionTask(AddOrEditPromotionTaskRequest request) |
|
|
|
{ |
|
|
|
var shop = venderBusiness.GetShopList(request.ShopId).FirstOrDefault(); |
|
|
|
if (shop == null) |
|
|
|
throw new BusinessException("缺少店铺Id"); |
|
|
|
var loggerName = $"评价助手-{shop.ShopName}"; |
|
|
|
nLogManager.GetLogger(loggerName).Info($"发布任务-{JsonConvert.SerializeObject(request)}"); |
|
|
|
|
|
|
|
|
|
|
|
if (string.IsNullOrEmpty(request.MainProductSpu)) |
|
|
|
throw new BusinessException("缺少主商品SPU"); |
|
|
|
|
|
|
|