|
|
@@ -162,7 +162,7 @@ public class AdminPreviewApiController extends CertifyApiController {
|
|
|
@RequestMapping(value = "/techProject", method = RequestMethod.GET)
|
|
|
public Result previewTechProject(String id, String sign) {
|
|
|
Result res = new Result();
|
|
|
- if (StringUtils.isEmpty(id)) {
|
|
|
+ /*if (StringUtils.isEmpty(id)) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "科技项目申报ID"));
|
|
|
return res;
|
|
|
}
|
|
|
@@ -171,7 +171,7 @@ public class AdminPreviewApiController extends CertifyApiController {
|
|
|
if (null == tp) {
|
|
|
res.getError().add(buildError(ErrorConstants.PARAM_ERROR, "", "科技项目申报ID"));
|
|
|
return res;
|
|
|
- }
|
|
|
+ }*/
|
|
|
|
|
|
AttachmentType attachmentType = AttachmentType.getField(sign);
|
|
|
if (attachmentType == AttachmentType.TECH_PROJECT) {
|