wangwei 7 жил өмнө
parent
commit
f8b67e898e

+ 1 - 1
examcloud-core-examwork-api-provider/src/main/java/cn/com/qmth/examcloud/core/examwork/api/controller/ExamController.java

@@ -437,7 +437,7 @@ public class ExamController extends ControllerSupport {
 	}
 
 	@ApiOperation(value = "考试IP限制", notes = "")
-	@DeleteMapping("ipLimit/{examId}")
+	@PostMapping("ipLimit/{examId}")
 	public Map<String, Object> ipLimit(HttpServletRequest request, @PathVariable Long examId) {
 		Exam exam = examRepo.findOne(examId);
 		if (null == exam) {