mirror of
https://gitee.com/dromara/RuoYi-Vue-Plus.git
synced 2026-09-19 01:48:47 +08:00
update 优化租户域名带有大写时无法正确获取租户
This commit is contained in:
parent
717acc00ab
commit
b4d43e0413
@ -227,7 +227,7 @@ public class AuthController {
|
||||
|
||||
// 根据域名进行筛选
|
||||
List<TenantListVo> list = StreamUtils.filter(voList, vo ->
|
||||
StringUtils.equals(vo.getDomain().toLowerCase(), host));
|
||||
vo != null && StringUtils.equalsIgnoreCase(vo.getDomain(), host));
|
||||
result.setVoList(CollUtil.isNotEmpty(list) ? list : voList);
|
||||
return R.ok(result);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user