|
@@ -85,7 +85,7 @@ public class CoursePaperController extends ControllerSupport {
|
|
|
*/
|
|
|
@GetMapping("/download/structure/{examId}/{paperId}")
|
|
|
@ApiOperation(value = "下载考试结构")
|
|
|
- public void downloadPaperStructure(@PathVariable Long examId, @PathVariable Long paperId) throws Exception {
|
|
|
+ public void downloadPaperStructure(@PathVariable Long examId, @PathVariable String paperId) throws Exception {
|
|
|
File file = coursePaperService.downloadPaperStructure(examId, paperId);
|
|
|
final String fileName = "paper.zip";
|
|
|
//super.exportFile(fileName, file);//todo
|
|
@@ -97,7 +97,7 @@ public class CoursePaperController extends ControllerSupport {
|
|
|
*/
|
|
|
@PostMapping("/check/structure/{examId}/{paperId}")
|
|
|
@ApiOperation(value = "校验考试结构")
|
|
|
- public Result checkPaperStructure(@PathVariable Long examId, @PathVariable Long paperId) {
|
|
|
+ public Result checkPaperStructure(@PathVariable Long examId, @PathVariable String paperId) {
|
|
|
coursePaperService.checkPaperStructure(examId, paperId);
|
|
|
return success();
|
|
|
}
|