From 325d2fbc3d907dcf3f574d8e1f30d0269ddc1937 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期三, 24 七月 2024 08:28:47 +0800 Subject: [PATCH] 1、请求租户不存在时,记录访问日志、操作日志异常的问题 2、LoginUser 新增过期时间,方便判断 token 过期 3、增加 ConfigApi,支持参数配置的读取 --- iailab-cloud/iailab-gateway/src/main/java/com/iailab/gateway/filter/security/LoginUser.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/iailab-cloud/iailab-gateway/src/main/java/com/iailab/gateway/filter/security/LoginUser.java b/iailab-cloud/iailab-gateway/src/main/java/com/iailab/gateway/filter/security/LoginUser.java index d80ead2..c8d13a8 100644 --- a/iailab-cloud/iailab-gateway/src/main/java/com/iailab/gateway/filter/security/LoginUser.java +++ b/iailab-cloud/iailab-gateway/src/main/java/com/iailab/gateway/filter/security/LoginUser.java @@ -2,6 +2,7 @@ import lombok.Data; +import java.time.LocalDateTime; import java.util.List; import java.util.Map; @@ -35,5 +36,9 @@ * 授权范围 */ private List<String> scopes; + /** + * 过期时间 + */ + private LocalDateTime expiresTime; } -- Gitblit v1.9.3