feat;增加角色模块

This commit is contained in:
曾文豪
2024-06-25 18:51:29 +08:00
parent a10b57f6fc
commit aee4fa86f6
3 changed files with 18 additions and 16 deletions

View File

@@ -264,8 +264,6 @@ public class RoleController {
@GetMapping("/owner/menu")
public ApiResp<String> ownerMenu(@Valid ServiceDTO dto) {
return ApiResp.respOK("");
}

View File

@@ -62,10 +62,8 @@ public class CoreRoleService extends TsServiceBase<CoreRoleGroupMapper, CoreRole
*
* @return
*/
public List<CoreRoleAuthority> getAllOwnerMenus(String userId,String roleId) {
List<CoreRoleAuthority> authority = coreRoleUserMapper.getAllAuthorityByUserId(userId, "");
public List<CoreRoleAuthority> getAllOwnerMenus(String userId, String roleId) {
List<CoreRoleAuthority> authority = coreRoleUserMapper.getAllAuthorityByUserId(userId, roleId);
return authority;