| | |
| | | @ApiOperation(value = "调整值") |
| | | @PostMapping("adjust.action") |
| | | public Result<String> adjust(@RequestBody AdminMarketQuotationsUpdateDto adminMarketQuotationsUpdateDto) { |
| | | List<String> supportCoins = Arrays.asList("btcusdt", "ethusdt", "dotusdt"); |
| | | /*List<String> supportCoins = Arrays.asList("btcusdt", "ethusdt", "dotusdt"); |
| | | |
| | | if (supportCoins.contains(adminMarketQuotationsUpdateDto.getSymbol())) { |
| | | // 包含在列表中 |
| | | return Result.failed("该币种不支持调整!"); |
| | | } |
| | | }*/ |
| | | marketQuotationsFacade.adjust( |
| | | adminMarketQuotationsUpdateDto.getSymbol(), |
| | | adminMarketQuotationsUpdateDto.getSecond(), |