|
@@ -423,13 +423,13 @@ public class ExtraController {
|
|
|
}
|
|
|
|
|
|
//获取页面json
|
|
|
- @RequestMapping(value = "/getJson")
|
|
|
+ @RequestMapping(value = "/getPageJson")
|
|
|
@ResponseBody
|
|
|
- public void getJson(String id, HttpServletResponse response) {
|
|
|
+ public void getPageJson(String caseId, HttpServletResponse response) {
|
|
|
try {
|
|
|
PrintWriter out = response.getWriter();
|
|
|
JSONObject result = new JSONObject();
|
|
|
- Exam exam = extraService.getExam(id);
|
|
|
+ Exam exam = extraService.getExam(caseId);
|
|
|
if(exam != null) {
|
|
|
result.put("status", 200);
|
|
|
result.put("result", exam.getJson());
|