mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-11-07 01:33:44 +08:00
update 优化 租户域名使用忽略大小写匹配
This commit is contained in:
@@ -226,7 +226,7 @@ public class AuthController {
|
|||||||
}
|
}
|
||||||
// 根据域名进行筛选
|
// 根据域名进行筛选
|
||||||
List<TenantListVo> list = StreamUtils.filter(voList, vo ->
|
List<TenantListVo> list = StreamUtils.filter(voList, vo ->
|
||||||
StringUtils.equals(vo.getDomain(), host));
|
StringUtils.equalsIgnoreCase(vo.getDomain(), host));
|
||||||
result.setVoList(CollUtil.isNotEmpty(list) ? list : voList);
|
result.setVoList(CollUtil.isNotEmpty(list) ? list : voList);
|
||||||
return R.ok(result);
|
return R.ok(result);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user