| | |
| | | @ApiOperation("【海康】门禁事件订阅推送对接处理接口") |
| | | @PostMapping("/push/acs") |
| | | public ApiResponse pushAcs( HttpServletRequest request,@RequestBody EventAcsRequest param, HttpServletResponse response) { |
| | | try { |
| | | /* try { |
| | | BufferedReader br = new BufferedReader(new InputStreamReader(request.getInputStream(),"UTF-8")); |
| | | String line = null; |
| | | StringBuffer sb = new StringBuffer(); |
| | |
| | | System.out.println(sb.toString()); |
| | | } catch (IOException e) { |
| | | throw new RuntimeException(e); |
| | | } |
| | | }*/ |
| | | String result = hkSyncPushService.dealAcsEvent(param,response); |
| | | return ApiResponse.success(result); |
| | | } |