@Configuration
public class SaAloneRedisInject
extends java.lang.Object
implements org.springframework.context.EnvironmentAware
| 限定符和类型 | 字段和说明 |
|---|---|
static java.lang.String |
ALONE_PREFIX
配置信息的前缀
|
SaTokenDao |
saTokenDao
Sa-Token 持久层接口
|
| 构造器和说明 |
|---|
SaAloneRedisInject() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.boot.autoconfigure.data.redis.RedisProperties |
getSaAloneRedisConfig()
骗过编辑器,增加配置文件代码提示
|
void |
setEnvironment(org.springframework.core.env.Environment environment)
开始注入
|
public static final java.lang.String ALONE_PREFIX
@Autowired(required=false) public SaTokenDao saTokenDao
public void setEnvironment(org.springframework.core.env.Environment environment)
setEnvironment 在接口中 org.springframework.context.EnvironmentAware@ConfigurationProperties(prefix="sa-token.alone-redis") public org.springframework.boot.autoconfigure.data.redis.RedisProperties getSaAloneRedisConfig()
Copyright © 2022. All Rights Reserved.