server/dmvisit_admin/src/main/java/com/doumee/task/ScheduleTool.java
@@ -24,8 +24,8 @@ * @date 2021-10-10 14:40:35 * https://www.bejson.com/othertools/cron/ cron 表达式生成地址 */ //@Component //@EnableScheduling @Component @EnableScheduling public class ScheduleTool { @Autowired @@ -64,7 +64,7 @@ * 每分钟拉取一次今日的访客预约数据 * @throws Exception */ @Scheduled(fixedRate= 30*1000) @Scheduled(fixedRate= 3*60*1000) public void syncVistAppointData() throws Exception { if(Constants.DEALING_FROM_HK_VISIT){ return ;