zhanghua
2023-12-11 a9674f2fdd767d37a920e08535d8ab7d88746796
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();