|
|
@@ -32,6 +32,9 @@ public class AflSmsConfigManagerImpl implements AflSmsConfigManager { |
|
|
|
if(StringUtils.isEmpty(aflSmsConfigAddRequest.getAgentId())){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("渠道编号必填"); |
|
|
|
} |
|
|
|
if(StringUtils.isEmpty(aflSmsConfigAddRequest.getSendTimeStart())||StringUtils.isEmpty(aflSmsConfigAddRequest.getSendTimeEnd())){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("时间区间必填"); |
|
|
|
} |
|
|
|
if(null==aflSmsConfigAddRequest.getType()){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("按天/按月控制最大提醒必填"); |
|
|
|
} |
|
|
@@ -61,6 +64,9 @@ public class AflSmsConfigManagerImpl implements AflSmsConfigManager { |
|
|
|
if(StringUtils.isEmpty(aflSmsConfigEditRequest.getAgentId())){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("渠道编号必填"); |
|
|
|
} |
|
|
|
if(StringUtils.isEmpty(aflSmsConfigEditRequest.getSendTimeStart())||StringUtils.isEmpty(aflSmsConfigEditRequest.getSendTimeEnd())){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("时间区间必填"); |
|
|
|
} |
|
|
|
if(null==aflSmsConfigEditRequest.getType()){ |
|
|
|
throw UcServiceError.BUSINESS_VALIDATE_ERR.toHandleException("按天/按月控制最大提醒必填"); |
|
|
|
} |