|
@@ -234,8 +234,8 @@ public class PaperController {
|
|
* @return
|
|
* @return
|
|
*/
|
|
*/
|
|
@ApiOperation(value = "删除导入试卷中的试题", notes = "删除导入试卷中的试题")
|
|
@ApiOperation(value = "删除导入试卷中的试题", notes = "删除导入试卷中的试题")
|
|
- @DeleteMapping(value = "/paper/deleteQuestion/{questionId}/")
|
|
|
|
- public ResponseEntity deleteGroup(@PathVariable String questionId) {
|
|
|
|
|
|
+ @DeleteMapping(value = "/paper/deleteQuestion/{questionId}")
|
|
|
|
+ public ResponseEntity deleteImportPaperQuestion(@PathVariable String questionId) {
|
|
List<String> paperNames = paperService.deleteImportQuestionById(questionId);
|
|
List<String> paperNames = paperService.deleteImportQuestionById(questionId);
|
|
return new ResponseEntity(paperNames, HttpStatus.OK);
|
|
return new ResponseEntity(paperNames, HttpStatus.OK);
|
|
}
|
|
}
|