| | |
| | | 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>(); |
| | |
| | | } |
| | | } |
| | | return Result.succeed(data); |
| | | }*/ |
| | | } |
| | | |
| | | /** |
| | | * 根据币种获取链地址 |
| | | */ |
| | | *//* |
| | | @GetMapping(action + "getBlockchainName.action") |
| | | public Object getBlockchainName(HttpServletRequest request) throws Exception { |
| | | String coin = request.getParameter("coin"); |
| | |
| | | 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(); |
| | |
| | | blockchain.setImg(null); |
| | | data.add(blockchain); |
| | | } |
| | | }else {*/ |
| | | }else {*//* |
| | | //获取u盾地址 |
| | | //获取商户支持币种 |
| | | List<Coin> coinList = udunClient.listSupportCoin(false); |
| | |
| | | return Result.failed("充值链暂不可用"); |
| | | } |
| | | return Result.succeed(data); |
| | | } |
| | | }*/ |
| | | |
| | | @PostMapping(action +"rechargeCallback.action") |
| | | public ResultMsg rechargeCallback(HttpServletRequest request){ |