SysRelationApi.java 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. * Copyright [2022] [https://www.xiaonuo.vip]
  3. *
  4. * Snowy采用APACHE LICENSE 2.0开源协议,您在使用过程中,需要注意以下几点:
  5. *
  6. * 1.请不要删除和修改根目录下的LICENSE文件。
  7. * 2.请不要删除和修改Snowy源码头部的版权声明。
  8. * 3.本项目代码可免费商业使用,商业使用请保留源码和相关描述文件的项目出处,作者声明等。
  9. * 4.分发源码时候,请注明软件出处 https://www.xiaonuo.vip
  10. * 5.不可二次分发开源参与同类竞品,如有想法可联系团队xiaonuobase@qq.com商议合作。
  11. * 6.若您的项目无法满足以上几点,需要更多功能代码,获取Snowy商业授权许可,请在官网购买授权,地址为 https://www.xiaonuo.vip
  12. */
  13. package vip.xiaonuo.sys.api;
  14. import java.util.List;
  15. /**
  16. * 关系API
  17. *
  18. * @author xuyuxiang
  19. * @date 2022/6/6 11:41
  20. **/
  21. public interface SysRelationApi {
  22. /**
  23. * 根据角色id集合获取角色下用户id集合
  24. *
  25. * @author xuyuxiang
  26. * @date 2022/6/6 11:43
  27. **/
  28. List<String> getUserIdListByRoleIdList(List<String> roleIdList);
  29. /**
  30. * 根据移动端菜单Id集合移除角色和移动端菜单关系
  31. *
  32. * @author xuyuxiang
  33. * @date 2023/1/31 9:54
  34. **/
  35. void removeRoleHasMobileMenuRelation(List<String> targetIdList);
  36. /**
  37. * 清除对应的角色与移动端菜单信息中的【授权的移动端按钮信息】
  38. *
  39. * @author xuyuxiang
  40. * @date 2023/1/31 9:54
  41. **/
  42. void removeRoleHasMobileButtonRelation(List<String> targetIdList, List<String> buttonIdList);
  43. }