|
|
@ -1178,6 +1178,10 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
|
SdtStaffInfoResult staffInfo = getResultDataOrThrowsException(thirdOpenFeignClient.getUserInfoByAuthCode(authCode, customerId), ServiceConstant.EPMET_THIRD_SERVER, |
|
|
|
EpmetErrorCode.SERVER_ERROR.getCode(), "获取山东通用户基础信息失败", null); |
|
|
|
|
|
|
|
if (staffInfo == null) { |
|
|
|
throw new EpmetException(EpmetErrorCode.SERVER_ERROR.getCode(), "获取山东通用户基础信息返回null,流程终止"); |
|
|
|
} |
|
|
|
|
|
|
|
// 2.获取用户详细信息
|
|
|
|
SdtStaffDetailResult staffDetail = getResultDataOrThrowsException(thirdOpenFeignClient.getUserDetailByUserId(staffInfo.getUserId(), customerId), ServiceConstant.EPMET_THIRD_SERVER, |
|
|
|
EpmetErrorCode.SERVER_ERROR.getCode(), "获取山东通用户详细信息失败", null); |
|
|
|