Commit 994ec947 authored by 李健华's avatar 李健华

获取租户列表不能默认羊小咩

parent 56440d47
......@@ -47,7 +47,7 @@ public class TenantController {
tenantList = oauthClientDetailsService.findTenantList(productLoginEntityList);
}
if (!tenantList.contains(TenantUtil.TENANT_DEFAULT)) {
if (tenantList.isEmpty()) {
User user = userService.findById(userId);
if (user == null) {
return JsonResult.buildErrorStateResult("该用户不存在", null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment