禅道bug#1588修复

This commit is contained in:
gaoqr
2026-06-05 16:06:56 +08:00
parent 05c6eea837
commit e1369e7302
21 changed files with 158 additions and 15 deletions
@@ -4,6 +4,7 @@ import com.cf.imes.framework.common.pojo.CommonResult;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenCheckRespDTO;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenCreateReqDTO;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2AccessTokenRespDTO;
import com.cf.imes.module.system.api.oauth2.dto.OAuth2KickOutAccessTokenRespDTO;
import com.cf.imes.module.system.enums.ApiConstants;
import io.swagger.v3.oas.annotations.tags.Tag;
import io.swagger.v3.oas.annotations.Parameter;
@@ -64,4 +65,7 @@ public interface OAuth2TokenApi {
@Operation(summary = "请求忽略令牌数据源")
CommonResult<String> getIgnoreTokenSource();
@GetMapping(PREFIX + "/kickout/{token}")
@Operation(summary = "获取当前token对应的被踢除token")
CommonResult<OAuth2KickOutAccessTokenRespDTO> getKickoutToken(@PathVariable("token") String token);
}
@@ -0,0 +1,20 @@
package com.cf.imes.module.system.api.oauth2.dto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;
import java.io.Serializable;
@Schema(description = "RPC 服务 - OAuth2 被踢除令牌的信息 Response DTO")
@Data
@Accessors(chain = true)
public class OAuth2KickOutAccessTokenRespDTO implements Serializable {
@Schema(description = "登录ip")
private String ip;
@Schema(description = "踢除时间")
private String kickTime;
}