|
@@ -9,6 +9,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
import org.springframework.web.bind.annotation.RequestBody;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -29,7 +30,7 @@ public class MarketApplyController {
|
|
|
@ApiOperation(value = "批量下载")
|
|
|
@RequestMapping({"/batchDownloadFiles"})
|
|
|
@MGRight(menuCode = {"/batchDownloadFiles"}, type = MGRightTypeDef.Menu | MGRightTypeDef.Logined)
|
|
|
- void getProjectDetail(@RequestBody BatchDownloadFilesRequest request, HttpServletResponse response) {
|
|
|
+ void getProjectDetail(@Validated BatchDownloadFilesRequest request, HttpServletResponse response) {
|
|
|
applyProjectService.batchDownloadFiles(request, response);
|
|
|
}
|
|
|
|