调整提示
This commit is contained in:
parent
fc528f081e
commit
1a534326f9
@ -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();
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user