Parcourir la source

修改错误的路径

gaoxing il y a 8 ans
Parent
commit
aabb644fac

+ 2 - 2
cqb-paper/src/main/java/com/qmth/cqb/paper/web/PaperController.java

@@ -234,8 +234,8 @@ public class PaperController {
      * @return
      */
     @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);
         return new ResponseEntity(paperNames, HttpStatus.OK);
     }