|
@@ -2,7 +2,6 @@ package com.mooctest.crowd.site.command;
|
|
|
|
|
|
import com.mooctest.crowd.domain.domainobject.CrowdTestTask;
|
|
|
import com.mooctest.crowd.domain.domainobject.EndPoint;
|
|
|
-import com.mooctest.crowd.domain.exception.BaseException;
|
|
|
import lombok.Data;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
|
|
@@ -76,9 +75,6 @@ public class CrowdTestTaskCommand {
|
|
|
crowdTestTask.setFixedPrice(fixedPrice);
|
|
|
crowdTestTask.setRequirementFile(requirementFile);
|
|
|
crowdTestTask.setParticipantCount(participantCount);
|
|
|
- if(endPoint.getThreePageUrl() == ""){
|
|
|
- throw new BaseException("测试大纲不能为空!");
|
|
|
- }
|
|
|
crowdTestTask.setEndPoint(endPoint);
|
|
|
return crowdTestTask;
|
|
|
}
|