|
@@ -494,8 +494,19 @@ public class ExtraController {
|
|
|
|
|
|
@RequestMapping(value = "/pageUrl")
|
|
|
@ResponseBody
|
|
|
- public String getPageUrl(String caseId){
|
|
|
- return extraService.getPageUrl(caseId);
|
|
|
+ public void getPageUrl(String caseId,HttpServletResponse response){
|
|
|
+ try {
|
|
|
+ PrintWriter out = response.getWriter();
|
|
|
+ JSONObject result = new JSONObject();
|
|
|
+ result.put("status", 200);
|
|
|
+ result.put("result",extraService.getPageUrl(caseId));
|
|
|
+ out.print(result);
|
|
|
+ out.flush();
|
|
|
+ out.close();
|
|
|
+ } catch (IOException e) {
|
|
|
+ // TODO Auto-generated catch block
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
}
|