feat;增加角色模块
This commit is contained in:
@@ -264,8 +264,6 @@ public class RoleController {
|
||||
@GetMapping("/owner/menu")
|
||||
public ApiResp<String> ownerMenu(@Valid ServiceDTO dto) {
|
||||
|
||||
|
||||
|
||||
return ApiResp.respOK("");
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user