| | |
| | | package com.ruoyi.system.service; |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import lombok.RequiredArgsConstructor; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.HashSet; |
| | |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @RequiredArgsConstructor |
| | | @Service |
| | | public class SysPermissionService { |
| | | |
| | | @Autowired |
| | | private ISysRoleService roleService; |
| | | |
| | | @Autowired |
| | | private ISysMenuService menuService; |
| | | private final ISysRoleService roleService; |
| | | private final ISysMenuService menuService; |
| | | |
| | | /** |
| | | * 获取角色数据权限 |