rk
2026-06-09 f76c68a87261cf2396a64c7125324c24483d4623
server/visits/admin_timer/src/main/java/com/doumee/api/HkNoticeTimerController.java
@@ -6,6 +6,7 @@
import com.doumee.service.business.impl.hksync.fhk.HkSyncVisitFromHKServiceImpl;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,6 +17,7 @@
 * @date 2023/11/30 15:33
 */
@Api(tags = "海康代办定时抓取接口")
@Slf4j
@RestController
@RequestMapping("/timer/hkNotice")
public class HkNoticeTimerController extends BaseController {
@@ -29,6 +31,7 @@
    @ApiOperation("开启定时查询最新人员代办数据状态")
    @PostMapping("/getNoticeList")
    public ApiResponse getNoticeList() {
        log.info("定时任务执行开始:getNoticeList-查询海康代办数据");
        hkSyncVisitService.syncVisitData();
        return ApiResponse.success("开启定时下发访客预约申请成功");
    }