新版仿ok交易所-后端
1
zyy
2025-09-17 91c09c67e6460a3818265fdb020db7aacb0bd869
trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java
@@ -95,6 +95,8 @@
                symbol = "btc";
            } else if (withdraw.getMethod().indexOf("ETH") != -1) {
                symbol = "eth";
            } else if (withdraw.getMethod().indexOf("USDC") != -1) {
                symbol = "usdc";
            } else {
                symbol = "usdt";
            }
@@ -138,8 +140,12 @@
            symbol = "btc";
        } else if (withdraw.getMethod().indexOf("ETH") != -1) {
            symbol = "eth";
        } else {
        } else if (withdraw.getMethod().indexOf("USDC") != -1) {
            symbol = "usdc";
        } else if (withdraw.getMethod().indexOf("USDT") != -1) {
            symbol = "usdt";
        } else {
            return;
        }
        if ("usdt".equals(symbol)) {
            Wallet wallet = walletService.saveWalletByPartyId(withdraw.getUserId());
@@ -436,6 +442,9 @@
        } 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())) {