记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
5693a044
Commit
5693a044
authored
Jul 08, 2022
by
anjiabin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
实现xuper数字账户开通
parent
903134aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ZxinUserCommonBiz.java
...net/service/galaxy/router/zxin/biz/ZxinUserCommonBiz.java
+11
-11
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-common/src/main/java/com/liquidnet/service/galaxy/router/zxin/biz/ZxinUserCommonBiz.java
View file @
5693a044
...
@@ -101,16 +101,16 @@ public class ZxinUserCommonBiz {
...
@@ -101,16 +101,16 @@ public class ZxinUserCommonBiz {
userInfoBo
=
dataUtils
.
getGalaxyUserInfo
(
reqDto
.
getRouterType
(),
userId
);
userInfoBo
=
dataUtils
.
getGalaxyUserInfo
(
reqDto
.
getRouterType
(),
userId
);
if
(
userInfoBo
!=
null
){
if
(
userInfoBo
!=
null
){
mnemonic
=
userInfoBo
.
getMnemonic
();
mnemonic
=
userInfoBo
.
getMnemonic
();
//
if(StringUtil.isNotEmpty(userInfoBo.getBlockChainAddress())){
if
(
StringUtil
.
isNotEmpty
(
userInfoBo
.
getBlockChainAddress
())){
//
try{
try
{
//
//同步用户数字账户开通信息
//同步用户数字账户开通信息
//
boolean isOpenAccount = syncOpenAccount(reqDto,respDto.getBlockChainAddress(),bizFailDesc,sysFailDesc,true,true);
boolean
isOpenAccount
=
syncOpenAccount
(
reqDto
,
respDto
.
getBlockChainAddress
(),
bizFailDesc
,
sysFailDesc
,
true
,
true
);
//
log.info("用户 {} 数字账户开通结果:{}",reqDto.getUserId(),isOpenAccount);
log
.
info
(
"用户 {} 数字账户开通结果:{}"
,
reqDto
.
getUserId
(),
isOpenAccount
);
//
}catch(Exception e){
}
catch
(
Exception
e
){
//
log.error("同步用户数字账户开通信息异常:"+e.getMessage(),e);
log
.
error
(
"同步用户数字账户开通信息异常:"
+
e
.
getMessage
(),
e
);
//
}
}
//
return ResponseDto.failure("已经开通过数字账户");
return
ResponseDto
.
failure
(
"已经开通过数字账户"
);
//
}
}
}
else
{
}
else
{
try
{
try
{
//生成助记词
//生成助记词
...
@@ -365,7 +365,7 @@ public class ZxinUserCommonBiz {
...
@@ -365,7 +365,7 @@ public class ZxinUserCommonBiz {
reqDto
.
getUserId
(),
AdamEnum
.
BizAcct
.
NFT_ZX
.
name
(),
blockChainAddress
,
null
,
null
,
1
,
LocalDateTime
.
now
()
reqDto
.
getUserId
(),
AdamEnum
.
BizAcct
.
NFT_ZX
.
name
(),
blockChainAddress
,
null
,
null
,
1
,
LocalDateTime
.
now
()
});
});
sqlsDataA
.
add
(
new
Object
[]{
sqlsDataA
.
add
(
new
Object
[]{
reqDto
.
getUserId
(),
AdamEnum
.
BizAcct
.
NFT_XUPER
.
name
(),
blockChainAddress
,
null
,
null
,
1
,
LocalDateTime
.
now
()
reqDto
.
getUserId
(),
AdamEnum
.
BizAcct
.
NFT_XUPER
.
name
(),
xuperUserRegisterRespDto
.
getData
().
getBlockChainAddress
()
,
null
,
null
,
1
,
LocalDateTime
.
now
()
});
});
dataUtils
.
getQueueUtil
().
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
SQL_STORE
.
getKey
(),
dataUtils
.
getQueueUtil
().
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
SQL_STORE
.
getKey
(),
SqlMapping
.
get
(
"adam_user_busi_acct.add"
,
sqlsDataA
)
SqlMapping
.
get
(
"adam_user_busi_acct.add"
,
sqlsDataA
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment