ycl-platform/src/main/java/com/ycl/timer/GetDingToken.java
@@ -88,10 +88,10 @@ @Override public void onApplicationEvent(ContextRefreshedEvent contextRefreshedEvent) { if (contextRefreshedEvent.getApplicationContext().getParent() == null) { runAction(); // runAction(); } } @Scheduled(cron ="0 0/2 * * * ? ") // @Scheduled(cron ="0 0/2 * * * ? ") public void runAction() { //gettoken String getToken = getToken();