From 2e210d5435025c55fc21c249c2d8fd2492a03bd9 Mon Sep 17 00:00:00 2001 From: luozhun <2025254074@qq.com> Date: Thu, 28 Nov 2024 17:12:52 +0800 Subject: [PATCH] =?UTF-8?q?feat(task):=20=E6=B7=BB=E5=8A=A0=20token=20?= =?UTF-8?q?=E7=BB=AD=E6=9C=9F=E6=97=A5=E5=BF=97=E8=BE=93=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 SecurityAssociationDockingServiceTask 类中,续期 token 后增加日志输出 - 通过 log.info 方法打印续期后的 token 信息 --- .../com/changhu/task/SecurityAssociationDockingServiceTask.java | 1 + 1 file changed, 1 insertion(+) diff --git a/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java b/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java index 1235704..ca7bd6c 100644 --- a/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java +++ b/policeSecurityServer/src/main/java/com/changhu/task/SecurityAssociationDockingServiceTask.java @@ -52,6 +52,7 @@ public class SecurityAssociationDockingServiceTask { JSONObject jsonObject = JSON.parseObject(body); JSONObject data = jsonObject.getJSONObject("data"); TOKEN = data.getString("token"); + log.info("续期后的 token:{}", TOKEN); } }