xiaoyong931011
2023-09-27 fe6292e55f07df7079dfcdd6eb1f090f11699d0e
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;