|
@@ -559,4 +559,17 @@ public class PaperController {
|
|
return new ResponseEntity(e.getMessage(),HttpStatus.INTERNAL_SERVER_ERROR);
|
|
return new ResponseEntity(e.getMessage(),HttpStatus.INTERNAL_SERVER_ERROR);
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ /**
|
|
|
|
+ * 上传音频文件检查
|
|
|
|
+ * @param paperId
|
|
|
|
+ * @param filesName
|
|
|
|
+ * @return
|
|
|
|
+ */
|
|
|
|
+ @ApiOperation(value="上传音频文件检查",notes="上传音频文件检查")
|
|
|
|
+ @PostMapping(value="/checkRadioFile/{paperId}")
|
|
|
|
+ public ResponseEntity checkRadioFile(@PathVariable String paperId,@RequestBody List<String> filesName){
|
|
|
|
+ Map<String, String> errorMessage = paperService.checkRadioFile(paperId, filesName);
|
|
|
|
+ return new ResponseEntity(errorMessage,HttpStatus.OK);
|
|
|
|
+ }
|
|
}
|
|
}
|