| | |
| | | String result = hkSyncPrivilegeService.syncPrivilege(param); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | // @PreventRepeat |
| | | @ApiOperation("【海康】门禁事件订阅推送对接处理接口") |
| | | @PostMapping("/push/acs") |
| | | public ApiResponse pushAcs( HttpServletRequest request,@RequestBody EventAcsRequest param, HttpServletResponse response) { |
| | | String result = hkSyncPushService.dealAcsEvent(param,response); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | // @PreventRepeat |
| | | @ApiOperation("【海康】访客事件订阅推送对接处理接口") |
| | | @PostMapping("/push/visit") |
| | | public ApiResponse pushVisit(@RequestBody EventVisitRequest param, HttpServletResponse response) { |
| | | String result = hkSyncPushService.dealVisitEvent(param,response); |
| | | return ApiResponse.success(result); |
| | | } |
| | | @PreventRepeat |
| | | // @PreventRepeat |
| | | @ApiOperation("【海康】停车场事件订阅推送对接处理接口") |
| | | @PostMapping("/push/parks") |
| | | public ApiResponse pushParks(@RequestBody EventParkRequest param, HttpServletResponse response) { |