🚀 删除角色
This commit is contained in:
parent
1f1b6da58a
commit
b38c7e7a80
|
@ -46,4 +46,13 @@ public class SysRoleController {
|
||||||
sysRoleService.updateById(sysRole);
|
sysRoleService.updateById(sysRole);
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ApiOperation(value = "删除角色")
|
||||||
|
@DeleteMapping("remove/{id}")
|
||||||
|
public Result<SysRole> remove(@PathVariable Long id) {
|
||||||
|
sysRoleService.removeById(id);
|
||||||
|
return Result.success();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue