mirror of https://gitee.com/stylefeng/roses
【8.3.3】【role】更新删除角色的数据权限
parent
e12b54dd93
commit
4fa1e04b72
|
@ -69,4 +69,17 @@ public class RoleDataScopeController {
|
|||
return new SuccessResponseData<>();
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除角色的数据权限
|
||||
*
|
||||
* @author fengshuonan
|
||||
* @since 2025/1/24 22:49
|
||||
*/
|
||||
@PostResource(name = "删除角色的数据权限", path = "/roleDataScope/delete", requiredPermission = true,
|
||||
requirePermissionCode = PermissionCodeConstants.CHANGE_ROLE_DATA_SCOPE)
|
||||
public ResponseData<?> delete(@RequestBody @Validated(BaseRequest.delete.class) SysRoleDataScopeRequest roleDataScopeRequest) {
|
||||
sysRoleDataScopeService.del(roleDataScopeRequest);
|
||||
return new SuccessResponseData<>();
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue