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