|
|
@@ -44,7 +44,8 @@ public class CrowdProjectController {
|
|
|
if (result.hasErrors())
|
|
|
throw new BaseException(result.getFieldErrors().toString());
|
|
|
else if (!crowdTestProjectCommand.isLegal())
|
|
|
- throw new BaseException("信息不合法,项目可见性存在问题");
|
|
|
+ throw new BaseException("信息不合法,项目可见性必须选择指定的市");
|
|
|
+// throw new BaseException("信息不合法,项目可见性存在问题");
|
|
|
return projectService.createCrowdProject(crowdTestProjectCommand);
|
|
|
}
|
|
|
|
|
|
@@ -85,7 +86,8 @@ public class CrowdProjectController {
|
|
|
if (result.hasErrors())
|
|
|
throw new BaseException(result.getFieldErrors().toString());
|
|
|
else if (!crowdTestProjectCommand.isLegal())
|
|
|
- throw new BaseException("信息不合法,项目可见性存在问题");
|
|
|
+ throw new BaseException("信息不合法,项目可见性必须选择指定的市");
|
|
|
+// throw new BaseException("信息不合法,项目可见性存在问题");
|
|
|
return projectService.updateProject(projectCode, crowdTestProjectCommand);
|
|
|
}
|
|
|
|