Commit 3da6c474e2c5b78c0a3ec1347e4de69e37ca8e77

Authored by jiangjiazhi
1 parent 1ee84892c4

增加字段

Showing 1 changed file with 2 additions and 0 deletions

platform-operate-api/src/main/java/com/lyms/platform/operate/web/controller/AntenatalExaminationController.java View file @ 3da6c47
... ... @@ -294,6 +294,7 @@
294 294 */
295 295 @RequestMapping(method = RequestMethod.GET, value = "/checkticket")
296 296 @TokenRequired
  297 + @ResponseBody
297 298 public BaseResponse checkTicket(String barCode,HttpServletRequest request){
298 299 LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
299 300 if (StringUtils.isNotBlank(barCode)) {
... ... @@ -313,6 +314,7 @@
313 314 */
314 315 @RequestMapping(method = RequestMethod.GET, value = "/last")
315 316 @TokenRequired
  317 + @ResponseBody
316 318 public BaseResponse getLastCheck(HttpServletRequest request,@RequestParam("parentId")String pid){
317 319 LoginContext loginState = (LoginContext) request.getAttribute("loginContext");
318 320 return antenatalExaminationFacade.getLastCheck(loginState.getId(),pid);