|
|
@ -134,6 +134,16 @@ namespace BBWY.Server.Business |
|
|
|
if (request.TaskCount == 0) |
|
|
|
throw new BusinessException("任务量不能为0"); |
|
|
|
|
|
|
|
request.FullTitle = request.FullTitle.Trim(); |
|
|
|
request.ActivityName = request.ActivityName.Trim(); |
|
|
|
request.MainProductSpu = request.MainProductSpu.Trim(); |
|
|
|
if (!string.IsNullOrEmpty(request.MainProductSku)) |
|
|
|
request.MainProductSku = request.MainProductSku.Trim(); |
|
|
|
if (!string.IsNullOrEmpty(request.CustomMotherSku)) |
|
|
|
request.CustomMotherSku = request.CustomMotherSku.Trim(); |
|
|
|
if (!string.IsNullOrEmpty(request.MainProductGiftSku)) |
|
|
|
request.MainProductGiftSku = request.MainProductGiftSku.Trim(); |
|
|
|
|
|
|
|
if (request.Id == 0) |
|
|
|
{ |
|
|
|
var relayAPIHost = GetPlatformRelayAPIHost(Enums.Platform.京东); |
|
|
|