From 0ac7fb6ab7d17589bb20da1f617316010f39e657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=82=E6=A2=A6=E6=8A=80=E6=9C=AF?= <596392912@qq.com> Date: Fri, 7 Feb 2025 09:31:08 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=20github=20#16=20JWT?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E8=AE=BE=E7=BD=AE=E8=BF=87=E9=95=BF=E5=A4=B1?= =?UTF-8?q?=E6=95=88=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/org/springblade/core/secure/utils/SecureUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blade-core-secure/src/main/java/org/springblade/core/secure/utils/SecureUtil.java b/blade-core-secure/src/main/java/org/springblade/core/secure/utils/SecureUtil.java index 6df0288..7595856 100644 --- a/blade-core-secure/src/main/java/org/springblade/core/secure/utils/SecureUtil.java +++ b/blade-core-secure/src/main/java/org/springblade/core/secure/utils/SecureUtil.java @@ -468,7 +468,7 @@ public class SecureUtil { // 组装Token信息 TokenInfo tokenInfo = new TokenInfo(); tokenInfo.setToken(builder.compact()); - tokenInfo.setExpire((int) expireMillis / 1000); + tokenInfo.setExpire((int) (expireMillis / 1000)); return tokenInfo; }