From 572cd528259f5affdf91b1da6f6d5ab973056655 Mon Sep 17 00:00:00 2001
From: zainali5120 <512061637@qq.com>
Date: Fri, 09 Oct 2020 22:01:08 +0800
Subject: [PATCH] cpv

---
 src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java b/src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java
index 94ee137..4eeff4c 100644
--- a/src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java
+++ b/src/main/java/com/xcong/excoin/modules/blackchain/service/Impl/BlockSeriveImpl.java
@@ -5,18 +5,13 @@
 
 import javax.annotation.Resource;
 
+import com.xcong.excoin.modules.blackchain.service.*;
 import lombok.extern.slf4j.Slf4j;
 import org.springframework.stereotype.Service;
 
 import com.alibaba.fastjson.JSONObject;
 import com.xcong.excoin.common.LoginUserUtils;
 import com.xcong.excoin.common.response.Result;
-import com.xcong.excoin.modules.blackchain.service.BlockSerive;
-import com.xcong.excoin.modules.blackchain.service.BtcService;
-import com.xcong.excoin.modules.blackchain.service.EthService;
-import com.xcong.excoin.modules.blackchain.service.LtcService;
-import com.xcong.excoin.modules.blackchain.service.UsdtService;
-import com.xcong.excoin.modules.blackchain.service.XrpService;
 import com.xcong.excoin.modules.member.dao.MemberCoinAddressDao;
 import com.xcong.excoin.modules.member.dao.MemberDao;
 import com.xcong.excoin.modules.member.entity.MemberCoinAddressEntity;
@@ -105,9 +100,7 @@
                         map.put("lable", uuid);
                         break;
                     case "XRP":
-                        JSONObject jSONObject = XrpService.createWallet();
-                        address = (String) jSONObject.get("xAddress");
-                        key = (String) jSONObject.get("secret");
+                        address = "biyicteos123";
                         map.put("address", address);
                         map.put("lable", uuid);
                         break;
@@ -187,6 +180,11 @@
                             }
                         }
                         break;
+                    case "CPV":
+
+                        address = RocService.createWallet();
+                        map.put("address", address);
+                        break;
                     default:
                         break;
                 }

--
Gitblit v1.9.1