新版仿ok交易所-后端
1
zyy
2026-03-09 4164ba59cb88d33b191f42d3bef122f6f7af6312
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,11 +170,11 @@
            }
        }
        return Result.succeed(data);
    }*/
    }
    /**
     * 根据币种获取链地址
     */
     *//*
    @GetMapping(action + "getBlockchainName.action")
    public Object getBlockchainName(HttpServletRequest request) throws Exception {
        String coin = request.getParameter("coin");
@@ -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){