From 5987eb809711317fb319c863fbd1c44df21dcfe0 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Thu, 04 Sep 2025 15:49:46 +0800
Subject: [PATCH] 1

---
 trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java b/trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java
index 5d1ef8d..b132fc4 100644
--- a/trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java
+++ b/trading-order-service/src/main/java/com/yami/trading/service/impl/WithdrawServiceImpl.java
@@ -135,10 +135,12 @@
 
         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 {
             symbol = "usdt";
         }
         if ("usdt".equals(symbol)) {
@@ -210,7 +212,6 @@
         logService.save(log);
         tipService.deleteTip(withdraw.getUuid().toString());
     }
-
     @Override
     public long waitCount() {
         return count(Wrappers.<Withdraw>query().lambda().eq(Withdraw::getStatus, 0));
@@ -436,6 +437,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())) {

--
Gitblit v1.9.3