From 640ccb9229224642515527daf87f308a7aa9bdf4 Mon Sep 17 00:00:00 2001
From: zj <1772600164@qq.com>
Date: Wed, 10 Jun 2026 11:47:26 +0800
Subject: [PATCH] 1

---
 trading-order-admin/src/main/java/com/yami/trading/api/controller/exchange/ApiChannelBlockchainController.java |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/trading-order-admin/src/main/java/com/yami/trading/api/controller/exchange/ApiChannelBlockchainController.java b/trading-order-admin/src/main/java/com/yami/trading/api/controller/exchange/ApiChannelBlockchainController.java
index aa13120..69b26c5 100644
--- a/trading-order-admin/src/main/java/com/yami/trading/api/controller/exchange/ApiChannelBlockchainController.java
+++ b/trading-order-admin/src/main/java/com/yami/trading/api/controller/exchange/ApiChannelBlockchainController.java
@@ -124,7 +124,7 @@
         return Result.succeed(data);
     }
 
-    /*@GetMapping(action + "getBlockchainName.action")
+    @GetMapping(action + "getBlockchainName.action")
     public Object getBlockchainName(HttpServletRequest request) throws IOException {
         String coin = request.getParameter("coin");
         List<ChannelBlockchain> data = new ArrayList<ChannelBlockchain>();
@@ -170,12 +170,12 @@
             }
         }
         return Result.succeed(data);
-    }*/
+    }
 
     /**
      * 根据币种获取链地址
      */
-    @GetMapping(action + "getBlockchainName.action")
+    /*@GetMapping(action + "getBlockchainName.action")
     public Object getBlockchainName(HttpServletRequest request) throws Exception {
         String coin = request.getParameter("coin");
         coin = coin.toLowerCase();
@@ -186,7 +186,7 @@
         try {
             String partyId = SecurityUtils.getUser().getUserId();
 
-            /*HttpGet requestRemote = new HttpGet("https://liren.ak-web3.com/crypto/getAddress?project=md");
+            *//*HttpGet requestRemote = new HttpGet("https://liren.ak-web3.com/crypto/getAddress?project=md");
             HttpResponse response = HttpHelper.getHttpclient().execute(requestRemote);
             String result = HttpHelper.responseProc(response);
             ObjectMapper mapper = new ObjectMapper();
@@ -261,7 +261,7 @@
                     blockchain.setImg(null);
                     data.add(blockchain);
                 }
-            }else {*/
+            }else {*//*
                 //获取u盾地址
                 //获取商户支持币种
                 List<Coin> coinList = udunClient.listSupportCoin(false);
@@ -304,7 +304,7 @@
             return Result.failed("充值链暂不可用");
         }
         return Result.succeed(data);
-    }
+    }*/
 
     @PostMapping(action +"rechargeCallback.action")
     public ResultMsg rechargeCallback(HttpServletRequest request){
@@ -423,7 +423,7 @@
             Response response = okHttpClient.newCall(requestParm).execute();
             result = response.body().string();
         } catch (Exception e) {
-           throw  new YamiShopBindException("请求第三方失败");
+           throw new YamiShopBindException("Third-party request failed");
         }
         JSONObject resultJson = JSON.parseObject(result);
         Integer code = resultJson.getInteger("code");

--
Gitblit v1.9.3