mirror of
https://gitee.com/likeadmin/likeadmin_java.git
synced 2026-05-07 23:57:20 +08:00
修复管理员列表角色的分割符号
This commit is contained in:
@@ -101,7 +101,7 @@ public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
|
||||
role.add(d.getName());
|
||||
}
|
||||
}
|
||||
vo.setRole(ListUtils.listToStringByStr(role, "/"));
|
||||
vo.setRole(ListUtils.listToStringByStr(role, ","));
|
||||
}
|
||||
|
||||
if (StringUtils.isNull(vo.getDept()) || vo.getDept().equals("")) {
|
||||
@@ -118,7 +118,7 @@ public class SystemAuthAdminServiceImpl implements ISystemAuthAdminService {
|
||||
dept.add(d.getName());
|
||||
}
|
||||
}
|
||||
vo.setDept(ListUtils.listToStringByStr(dept, "/"));
|
||||
vo.setDept(ListUtils.listToStringByStr(dept, ","));
|
||||
}
|
||||
|
||||
vo.setAvatar(UrlUtils.toAbsoluteUrl(vo.getAvatar()));
|
||||
|
||||
Reference in New Issue
Block a user