wente
2023-12-19 b3ba293b66c7ba3191a5392b28650234103fea99
zt/core/src/main/java/com/zt/modules/sys/controller/SysUserController.java
@@ -220,7 +220,6 @@
    @ApiOperation("用户角色列表")
    @RequiresPermissions("sys:user:role")
    public Result<List<Long>> getRole(@PathVariable("id") Long id) {
        return Result.ok(sysRoleUserService.getUserRoles(id).stream().map(role -> role.getId())
                .collect(Collectors.toList()));
    }