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-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/oauth2/dto/OAuth2AccessTokenCheckRespDTO.java | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/oauth2/dto/OAuth2AccessTokenCheckRespDTO.java b/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/oauth2/dto/OAuth2AccessTokenCheckRespDTO.java index 582dcbe..c6ddab6 100644 --- a/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/oauth2/dto/OAuth2AccessTokenCheckRespDTO.java +++ b/iailab-module-system/iailab-module-system-api/src/main/java/com/iailab/module/system/api/oauth2/dto/OAuth2AccessTokenCheckRespDTO.java @@ -4,6 +4,7 @@ import lombok.Data; import java.io.Serializable; +import java.time.LocalDateTime; import java.util.List; import java.util.Map; @@ -26,4 +27,8 @@ @Schema(description = "授权范围的数组", example = "user_info") private List<String> scopes; + @Schema(description = "过期时间", requiredMode = Schema.RequiredMode.REQUIRED) + private LocalDateTime expiresTime; + + } -- Gitblit v1.9.3