mirror of
https://github.com/yangzongzhuan/RuoYi-Vue.git
synced 2025-09-07 13:52:06 +00:00
授权用户添加访问权限
This commit is contained in:
@@ -275,6 +275,7 @@ public class SysUserServiceImpl implements ISysUserService
|
||||
* @param roleIds 角色组
|
||||
*/
|
||||
@Override
|
||||
@Transactional
|
||||
public void insertUserAuth(Long userId, Long[] roleIds)
|
||||
{
|
||||
userRoleMapper.deleteUserRoleByUserId(userId);
|
||||
|
Reference in New Issue
Block a user