ting.yin 3 éve
szülő
commit
4259fe5faf

+ 2 - 1
stmms-web/src/main/java/cn/com/qmth/stmms/admin/exam/CheckStudentController.java

@@ -15,6 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Controller;
 import org.springframework.ui.Model;
 import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
 import org.springframework.web.bind.annotation.RequestParam;
 import org.springframework.web.bind.annotation.ResponseBody;
 
@@ -90,7 +91,7 @@ public class CheckStudentController extends BaseExamController {
         return list;
     }
 
-    @RequestMapping("/getSetting")
+    @RequestMapping(value = "/getSetting", method = RequestMethod.POST)
     @ResponseBody
     public JSONObject getSetting(HttpServletRequest request, @RequestParam CheckType checkType,
             @RequestParam(required = false) String subjectCode, @RequestParam(required = false) String examSite) {