mirror of https://gitee.com/stylefeng/roses
【8.3.3】【role】更新查看角色数据范围详情
parent
4fa1e04b72
commit
2ba0ace8b5
|
@ -82,4 +82,17 @@ public class RoleDataScopeController {
|
||||||
return new SuccessResponseData<>();
|
return new SuccessResponseData<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询角色数据权限详情
|
||||||
|
*
|
||||||
|
* @author fengshuonan
|
||||||
|
* @since 2025/1/24 22:59
|
||||||
|
*/
|
||||||
|
@GetResource(name = "查看详情", path = "/roleDataScope/getDetail", requiredPermission = true,
|
||||||
|
requirePermissionCode = PermissionCodeConstants.CHANGE_ROLE_DATA_SCOPE)
|
||||||
|
public ResponseData<SysRoleDataScope> getDetail(@Validated(BaseRequest.detail.class) SysRoleDataScopeRequest roleDataScopeRequest) {
|
||||||
|
SysRoleDataScope detail = sysRoleDataScopeService.detail(roleDataScopeRequest);
|
||||||
|
return new SuccessResponseData<>(detail);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue