src/main/java/cc/mrbird/febs/mall/quartz/WxxcxJob.java | ●●●●● patch | view | raw | blame | history | |
src/main/resources/application-test.yml | ●●●●● patch | view | raw | blame | history |
src/main/java/cc/mrbird/febs/mall/quartz/WxxcxJob.java
@@ -47,6 +47,7 @@ */ @Scheduled(cron = "0 0 0/1 * * ? ") public void getAccessToken() throws IOException { log.info("执行access_token刷新"); String appId = xcxProperties.getXcxAppid(); String appSecret = xcxProperties.getXcxSecret(); String url = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=" + appId + "&secret=" + appSecret; src/main/resources/application-test.yml
@@ -82,4 +82,4 @@ serviceName: yiyuanshucai system: job: false job: true