ting.yin 3 سال پیش
والد
کامیت
4259fe5faf
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      stmms-web/src/main/java/cn/com/qmth/stmms/admin/exam/CheckStudentController.java

+ 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) {