| | |
| | | symbol = "btc"; |
| | | } else if (withdraw.getMethod().indexOf("ETH") != -1) { |
| | | symbol = "eth"; |
| | | } else if (withdraw.getMethod().indexOf("USDC") != -1) { |
| | | symbol = "usdc"; |
| | | } else { |
| | | symbol = "usdt"; |
| | | } |
| | |
| | | |
| | | String symbol = ""; |
| | | if (withdraw.getMethod().indexOf("BTC") != -1) { |
| | | symbol = "btc"; |
| | | symbol = "btcusdt"; |
| | | } else if (withdraw.getMethod().indexOf("ETH") != -1) { |
| | | symbol = "eth"; |
| | | } else { |
| | | symbol = "ethusdt"; |
| | | } else if (withdraw.getMethod().indexOf("USDC") != -1) { |
| | | symbol = "usdcusdt"; |
| | | } else if (withdraw.getMethod().indexOf("USDT") != -1) { |
| | | symbol = "usdt"; |
| | | } else { |
| | | return; |
| | | } |
| | | if ("usdt".equals(symbol)) { |
| | | Wallet wallet = walletService.saveWalletByPartyId(withdraw.getUserId()); |
| | |
| | | } else if (channel.indexOf("ETH") != -1) { |
| | | saveApplyOtherChannel(withdraw, "ethusdt"); |
| | | return; |
| | | } else if (channel.indexOf("USDC") != -1) { |
| | | saveApplyOtherChannel(withdraw, "usdcusdt"); |
| | | return; |
| | | } |
| | | User party = userService.getById(withdraw.getUserId()); |
| | | if (Constants.SECURITY_ROLE_TEST.equals(party.getRoleName())) { |