|  |  | 
 |  |  |             @ApiResponse(code = 0, message = "success", response = HomeSymbolsVo.class) | 
 |  |  |     }) | 
 |  |  |     @GetMapping(value = "/homeSymbols") | 
 |  |  |     public Result homeSymbols(@ApiParam(name = "type", value = "类型1-币币2-合约3-自选", required = true, example = "1") Integer type) { | 
 |  |  |     public Result homeSymbols(@ApiParam(name = "type", value = "类型1-币币2-合约3-自选", required = true, example = "1") @RequestParam(value = "type") Integer type) { | 
 |  |  |         return symbolsService.homeSymbols(type); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |             @ApiResponse(code = 0, message = "success", response = HomeSymbolsVo.class) | 
 |  |  |     }) | 
 |  |  |     @GetMapping(value = "/findSymbolData") | 
 |  |  |     public Result findSymbolData(@ApiParam(name = "symbol", value = "币种", required = true, example = "BTC/USDT") String symbol) { | 
 |  |  |     public Result findSymbolData(@ApiParam(name = "symbol", value = "币种", required = true, example = "BTC/USDT") @RequestParam(value = "symbol") String symbol) { | 
 |  |  |         return symbolsService.findSymbolData(symbol); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  | 
 |  |  |         if (!TypeJudgeUtils.klinePeriod(klineDetailDto.getPeriod())) { | 
 |  |  |             return Result.fail("非法参数"); | 
 |  |  |         } | 
 |  |  |  | 
 |  |  |         return symbolsService.findKlineDetails(klineDetailDto); | 
 |  |  |     } | 
 |  |  |  |