Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
6d5a2812
Commit
6d5a2812
authored
Sep 26, 2021
by
王业雄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加日志
parent
71a43035
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
UserCenterServiceImpl.java
...distribution/service/user/impl/UserCenterServiceImpl.java
+2
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/service/user/impl/UserCenterServiceImpl.java
View file @
6d5a2812
...
@@ -99,6 +99,7 @@ public class UserCenterServiceImpl implements IUserCenterService {
...
@@ -99,6 +99,7 @@ public class UserCenterServiceImpl implements IUserCenterService {
@Override
@Override
public
UserAssociationBean
getUserAssociationBean
(
String
uuid
)
{
public
UserAssociationBean
getUserAssociationBean
(
String
uuid
)
{
UserSysResult
<
UserInfo
>
result
=
userSdkService
.
findUserInfoByUuid
(
uuid
);
UserSysResult
<
UserInfo
>
result
=
userSdkService
.
findUserInfoByUuid
(
uuid
);
log
.
info
(
"getUserAssociationBean | result={}"
,
result
);
UserInfo
userInfo
=
new
UserInfo
();
UserInfo
userInfo
=
new
UserInfo
();
if
(
result
.
isSuccess
()
&&
result
.
getData
()
!=
null
&&
result
.
getData
().
getId
()
!=
null
)
{
if
(
result
.
isSuccess
()
&&
result
.
getData
()
!=
null
&&
result
.
getData
().
getId
()
!=
null
)
{
userInfo
=
result
.
getData
();
userInfo
=
result
.
getData
();
...
@@ -107,6 +108,7 @@ public class UserCenterServiceImpl implements IUserCenterService {
...
@@ -107,6 +108,7 @@ public class UserCenterServiceImpl implements IUserCenterService {
throw
new
RuntimeException
(
"调用用户中心接口findUserInfoByUuid异常"
);
throw
new
RuntimeException
(
"调用用户中心接口findUserInfoByUuid异常"
);
}
}
UserSysResult
<
UserAssociationBean
>
association
=
userSdkService
.
findUserAssociationByUid
(
userInfo
.
getId
().
toString
());
UserSysResult
<
UserAssociationBean
>
association
=
userSdkService
.
findUserAssociationByUid
(
userInfo
.
getId
().
toString
());
log
.
info
(
"getUserAssociationBean | association={}"
,
association
);
if
(
association
==
null
||
!
association
.
isSuccess
()
||
association
.
getData
()
==
null
if
(
association
==
null
||
!
association
.
isSuccess
()
||
association
.
getData
()
==
null
||
CollectionUtils
.
isEmpty
(
association
.
getData
().
getContractResults
())){
||
CollectionUtils
.
isEmpty
(
association
.
getData
().
getContractResults
())){
log
.
error
(
"调用用户中心接口findUserAssociationByUid异常 {}"
,
JSON
.
toJSONString
(
association
));
log
.
error
(
"调用用户中心接口findUserAssociationByUid异常 {}"
,
JSON
.
toJSONString
(
association
));
...
...
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