From 51627d7bccf511365e2fe87e83de0d2c87f83693 Mon Sep 17 00:00:00 2001 From: zoujiangtao Date: Mon, 2 Dec 2024 16:42:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=BA=EF=BC=9A=E9=82=B9?= =?UTF-8?q?=E6=B1=9F=E6=B6=9B=20=E4=BF=AE=E6=94=B9=E5=86=85=E5=AE=B9?= =?UTF-8?q?=EF=BC=9AAPI=E6=98=A0=E5=B0=84=E5=85=AC=E5=85=B1=E5=8D=95?= =?UTF-8?q?=E6=8D=AE=20=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=EF=BC=9A2024/1?= =?UTF-8?q?2/02?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/shkd/sys/sys/mservice/ApiService.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java index ddde14c..8207c99 100644 --- a/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java +++ b/sys/shkd-sys-sys/src/main/java/shkd/sys/sys/mservice/ApiService.java @@ -32,6 +32,7 @@ public class ApiService { private static final Log logger = LogFactory.getLog(ApiService.class); public static String getBIPToken(String domainName) { + logger.info("getBIPToken → 开始调用接口获取token\n域名:{}", domainName); String access_token = null; long currentTimeMillis = System.currentTimeMillis(); try { @@ -48,6 +49,7 @@ public class ApiService { "×tamp=" + currentTimeMillis + "&signature=" + signature; + logger.info("getBIPToken → 构建URL: {}", urlString); URL url = new URL(urlString); HttpURLConnection connection = (HttpURLConnection) url.openConnection();