mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 05:12:07 +08:00
禅道bug#1588修复
This commit is contained in:
+4
@@ -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);
|
||||
}
|
||||
|
||||
+20
@@ -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;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user