mirror of
https://gitee.com/dromara/sa-token.git
synced 2025-08-20 09:44:19 +08:00
既然加入了依赖肯定是需要读取配置的, 这个属性检查就去掉吧
This commit is contained in:
parent
5a6e8bd463
commit
1f5798176d
@ -74,10 +74,6 @@ public class SaAloneRedisInject implements EnvironmentAware{
|
||||
if(saTokenDao == null || saTokenDao instanceof SaTokenDaoDefaultImpl) {
|
||||
return;
|
||||
}
|
||||
// 如果配置文件不包含相关配置,则不进行任何操作
|
||||
if(environment.getProperty(ALONE_PREFIX + ".host") == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
// ------------------- 开始注入
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user