|  |  |  | 
|---|
|  |  |  | import io.swagger.annotations.Api; | 
|---|
|  |  |  | import io.swagger.annotations.ApiOperation; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.GetMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RestController; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | private VisitsService visitsService; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiOperation("开启定时查询最新人员代办数据状态") | 
|---|
|  |  |  | @GetMapping("/getNoticeList") | 
|---|
|  |  |  | @PostMapping("/getNoticeList") | 
|---|
|  |  |  | public ApiResponse getNoticeList() { | 
|---|
|  |  |  | hkSyncVisitService.syncVisitData(); | 
|---|
|  |  |  | return ApiResponse.success("开启定时下发访客预约申请成功"); | 
|---|