@GetMapping("/{id}")
    public ResponseEntity<RoleVo> getRoleDetail(@PathVariable String id) {
        return ResponseEntity.ok(roleService.getRoleDetail(id));
    }
getRoleDetail

@param id id
@return RoleVo
src/main/java/com/tuituidan/openhub/controller/RoleController.java