chore: 修改会话方式类型的配置键值
This commit is contained in:
@@ -33,10 +33,10 @@ import java.util.stream.Collectors;
|
||||
/**
|
||||
* JWT 令牌服务实现
|
||||
*
|
||||
* @author Ray
|
||||
* @author Ray.Hao
|
||||
* @since 2024/11/15
|
||||
*/
|
||||
@ConditionalOnProperty(value = "security.token-type", havingValue = "jwt")
|
||||
@ConditionalOnProperty(value = "security.session.type", havingValue = "jwt")
|
||||
@Service
|
||||
public class JwtTokenService implements TokenService {
|
||||
|
||||
|
||||
@@ -9,10 +9,10 @@ import org.springframework.stereotype.Service;
|
||||
/**
|
||||
* JWT 令牌服务实现
|
||||
*
|
||||
* @author Ray
|
||||
* @author Ray.Hao
|
||||
* @since 2024/11/15
|
||||
*/
|
||||
@ConditionalOnProperty(value = "security.token-type", havingValue = "redis-token")
|
||||
@ConditionalOnProperty(value = "security.session.type", havingValue = "redis-token")
|
||||
@Service
|
||||
public class RedisTokenService implements TokenService {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user