|  |  |  | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.request.event.parks.EventPlatWorkstatusRequest; | 
|---|
|  |  |  | import com.doumee.core.haikang.model.param.request.event.visit.EventVisitRequest; | 
|---|
|  |  |  | import com.doumee.core.model.ApiResponse; | 
|---|
|  |  |  | import com.doumee.dao.business.model.Device; | 
|---|
|  |  |  | import com.doumee.service.business.impl.hksync.*; | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | 
|---|
|  |  |  | @ApiOperation("【海康】全量同步门禁设备接口") | 
|---|
|  |  |  | @PostMapping("/syncDevices") | 
|---|
|  |  |  | @RequiresPermissions("business:hksync:device") | 
|---|
|  |  |  | public ApiResponse syncHkDevices(@RequestBody AcsDeviceListRequest param) { | 
|---|
|  |  |  | public ApiResponse syncHkDevices(@RequestBody Device param) { | 
|---|
|  |  |  | String result = hkSyncDeviceService.syncHkDevices(param); | 
|---|
|  |  |  | return ApiResponse.success(result); | 
|---|
|  |  |  | } | 
|---|