class CodeController {

    @RequestMapping(value = "/content")
    public ServiceResult<String> getFileContent(@RequestParam(value = "projectId", defaultValue = "") String projectId,
                                                @RequestParam(value = "name", defaultValue = "") String name) throws Exception {
        return codeService.getFileContent(projectId, name);
    }

}