Commit 6d5a2812 authored by 王业雄's avatar 王业雄

添加日志

parent 71a43035
...@@ -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));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment