diff --git a/cloud-common-dingding/src/main/java/com/cm/common/dingding/startup/DingDingStartUp.java b/cloud-common-dingding/src/main/java/com/cm/common/dingding/startup/DingDingStartUp.java index c5fa865..eb69c0e 100644 --- a/cloud-common-dingding/src/main/java/com/cm/common/dingding/startup/DingDingStartUp.java +++ b/cloud-common-dingding/src/main/java/com/cm/common/dingding/startup/DingDingStartUp.java @@ -30,7 +30,7 @@ public class DingDingStartUp implements ApplicationRunner { @Override public void run(ApplicationArguments args) throws Exception { if (dingDingAppProperties.getActive() == null || !dingDingAppProperties.getActive()) { - LOG.debug("钉钉应用未启动"); + LOG.debug("钉钉应用未激活"); return; } DingDingAppManager dingDingAppManager = DingDingAppManager.getInstance(); diff --git a/cloud-common-dingding/src/main/java/com/cm/common/dingding/task/DingDingTask.java b/cloud-common-dingding/src/main/java/com/cm/common/dingding/task/DingDingTask.java index 02ad781..2d4a552 100644 --- a/cloud-common-dingding/src/main/java/com/cm/common/dingding/task/DingDingTask.java +++ b/cloud-common-dingding/src/main/java/com/cm/common/dingding/task/DingDingTask.java @@ -30,7 +30,7 @@ public class DingDingTask { @Scheduled(cron = "0 0/10 * * * ?") public void refreshAppAccessToken() { if (dingDingAppProperties.getActive() == null || !dingDingAppProperties.getActive()) { - LOG.debug("钉钉应用未启动"); + LOG.debug("钉钉应用未激活"); return; } DingDingAppManager.getInstance().refreshAccessToken();