From 6c5d0a4a9264b7508c7ffe81b45ba239cabf2244 Mon Sep 17 00:00:00 2001
From: nidapeng <jp@doumee.com>
Date: 星期三, 10 四月 2024 17:59:08 +0800
Subject: [PATCH] 最新版本

---
 server/dmvisit_web/src/main/java/com/doumee/api/ScheduleTool.java |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/server/dmvisit_web/src/main/java/com/doumee/api/ScheduleTool.java b/server/dmvisit_web/src/main/java/com/doumee/api/ScheduleTool.java
index f9f7345..363cb0d 100644
--- a/server/dmvisit_web/src/main/java/com/doumee/api/ScheduleTool.java
+++ b/server/dmvisit_web/src/main/java/com/doumee/api/ScheduleTool.java
@@ -35,8 +35,8 @@
  * @date 2021-10-10 14:40:35
  * https://www.bejson.com/othertools/cron/  cron 琛ㄨ揪寮忕敓鎴愬湴鍧�
  */
-@Component
-@EnableScheduling
+//@Component
+//@EnableScheduling
 @Slf4j
 public class ScheduleTool {
 
@@ -66,6 +66,7 @@
         String url = WXConstant.GET_ACCESS_TOKEN_URL.replace("APPID",appId).replace("APPSECRET",appSecret);
         String response = HttpsUtil.get(url,false);
         JSONObject json = JSONObject.parseObject(response);
+        System.out.println(json);
         SystemDictData systemDictData =  systemDictDataBiz.queryByCode(Constants.WX_PLATFORM,Constants.WX_PLATFORM_ACCESS_TOKEN);
         if(!Objects.isNull(systemDictData)){
             systemDictData.setCode(json.getString("access_token"));

--
Gitblit v1.9.3