Commit 2f0ea7197cfba5cde64a9c8ead6b989541959563

Authored by fangcheng
1 parent cc841104c6
Exists in master

开放接口

Showing 1 changed file with 2 additions and 2 deletions

parent/hospital.web/src/main/java/com/lyms/hospital/controller/RouterController.java View file @ 2f0ea71
... ... @@ -30,7 +30,7 @@
30 30  
31 31 private static final Logger log = LoggerFactory.getLogger(RouterController.class);
32 32  
33   - //@RequestMapping(value = "/pull", produces = { MediaType.APPLICATION_JSON_VALUE })
  33 + @RequestMapping(value = "/pull", produces = { MediaType.APPLICATION_JSON_VALUE })
34 34 public Object pull(HttpServletRequest request) throws Exception {
35 35 ChannelData data = SyncUtils.conver(request);
36 36 log.debug("节点数据被中心拉取:" + ToStringBuilder.reflectionToString(data));
... ... @@ -44,7 +44,7 @@
44 44 return data;
45 45 }
46 46  
47   - //@RequestMapping(value = "/push", produces = { MediaType.APPLICATION_JSON_VALUE })
  47 + @RequestMapping(value = "/push", produces = { MediaType.APPLICATION_JSON_VALUE })
48 48 public Object push(HttpServletRequest request) throws Exception {
49 49 ChannelData data = SyncUtils.conver(request);
50 50 log.debug("中心推送数据到节点:" + ToStringBuilder.reflectionToString(data));