|
@@ -29,7 +29,7 @@ public class DingTalkAuthorization {
|
|
|
* 自动获取钉钉授权
|
|
|
* @throws URISyntaxException URI异常
|
|
|
*/
|
|
|
-// @Scheduled(fixedDelay = 7000000L)
|
|
|
+ @Scheduled(fixedDelay = 7000000L)
|
|
|
private void getToken() throws URISyntaxException {
|
|
|
var restTemplate=new RestTemplate();
|
|
|
var uri=new URI(getTokenUri+"?appkey="+ DingTalkConstant.DING_TALK_APP_KEY +"&appsecret="+DingTalkConstant.DING_TALK_APP_SECRET);
|