|
@@ -406,7 +406,7 @@ public class PaperController extends BaseExamController {
|
|
|
}
|
|
|
|
|
|
@Logging(menu = "删除题目", type = LogType.DELETE)
|
|
|
- @RequestMapping(value = "/question-delete/{questionId}", method = RequestMethod.POST)
|
|
|
+ @RequestMapping(value = "/question-delete/{questionId}", method = RequestMethod.GET)
|
|
|
@RoleRequire(Role.SCHOOL_ADMIN)
|
|
|
public String delete(HttpServletRequest request, @PathVariable Integer questionId) {
|
|
|
ExamQuestion question = questionService.findById(questionId);
|