xiaoyong931011
2023-09-27 fe6292e55f07df7079dfcdd6eb1f090f11699d0e
Merge branch 'blnka' of http://120.27.238.55:7000/r/xc-mall into blnka
2 files modified
3 ■■■■ changed files
src/main/java/cc/mrbird/febs/mall/quartz/WxxcxJob.java 1 ●●●● patch | view | raw | blame | history
src/main/resources/application-test.yml 2 ●●● 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