| | |
| | | String coin = request.getParameter("coin"); |
| | | |
| | | String partyId = SecurityUtils.getUser().getUserId(); |
| | | if (coin.equalsIgnoreCase("usdc")) { |
| | | /*if (coin.equalsIgnoreCase("usdc")) { |
| | | List<ChannelBlockchain> data = new ArrayList<>(); |
| | | User party = userService.getById(partyId); |
| | | if (0 == this.sysparaService.find("can_recharge").getInteger()) { |
| | |
| | | } |
| | | } |
| | | return Result.succeed(data); |
| | | } else { |
| | | } else {*/ |
| | | coin = coin.toLowerCase(); |
| | | List<ChannelBlockchain> data = new ArrayList<>(); |
| | | |
| | |
| | | } |
| | | }); |
| | | return Result.succeed(data); |
| | | } |
| | | //} |
| | | }catch (Exception e){ |
| | | log.error("获取充值地址错误:",e); |
| | | return Result.failed("失败"); |
| | |
| | | USDT_ERC20("usdt", "ERC20","USDT-ERC20", "usdt"), |
| | | ETH("eth", "ETH","ETH", "ethusdt"), |
| | | BTC("btc", "BTC","BTC", "btcusdt"), |
| | | USDC_ERC20("usdc", "ERC20","USDC-ERC20", "usdcusdt"), |
| | | USDC_TRC20("usdc", "TRC20","USDC-TRC20", "usdcusdt"); |
| | | //USDC_ERC20("usdc", "ERC20","USDC-ERC20", "usdcusdt"), |
| | | //USDC_TRC20("usdc", "TRC20","USDC-TRC20", "usdcusdt") |
| | | USDC("usdc", "ERC20","USDC", "usdcusdt"); |
| | | |
| | | |
| | | private final String coin; |
| | |
| | | if(stockDz == null){ |
| | | return Result.failed("不存在该大宗信息"); |
| | | } |
| | | model.setStockName(item.getSymbolFullName()); |
| | | //model.setStockName(item.getSymbolFullName()); |
| | | model.setStockCode(item.getSymbol()); |
| | | model.setStockType(stockDz.getStockType()); |
| | | model.setStockSpell(item.getSymbolData()); |