|
@ -1114,6 +1114,7 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
HfiveLoginResiFormDTO hfiveLoginResiFormDTO = new HfiveLoginResiFormDTO(); |
|
|
HfiveLoginResiFormDTO hfiveLoginResiFormDTO = new HfiveLoginResiFormDTO(); |
|
|
|
|
|
|
|
|
hfiveLoginResiFormDTO.setUserBaseInfoId(formDTO.getUserBaseInfoId()); |
|
|
hfiveLoginResiFormDTO.setUserBaseInfoId(formDTO.getUserBaseInfoId()); |
|
|
|
|
|
hfiveLoginResiFormDTO.setCustomerId(getCurrentCustomerId()); |
|
|
|
|
|
|
|
|
// 2、调用userfeign接口获取userId、注册网格相关信息
|
|
|
// 2、调用userfeign接口获取userId、注册网格相关信息
|
|
|
Result<DingLoginResiResDTO> loginResiResDTOResult = epmetUserOpenFeignClient.hFiveResiLogin(hfiveLoginResiFormDTO); |
|
|
Result<DingLoginResiResDTO> loginResiResDTOResult = epmetUserOpenFeignClient.hFiveResiLogin(hfiveLoginResiFormDTO); |
|
@ -1123,6 +1124,8 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "提供的居民id获取居民信息失败:"+ formDTO.getUserBaseInfoId(), "获取token失败"); |
|
|
throw new EpmetException(EpmetErrorCode.EPMET_COMMON_OPERATION_FAIL.getCode(), "提供的居民id获取居民信息失败:"+ formDTO.getUserBaseInfoId(), "获取token失败"); |
|
|
} |
|
|
} |
|
|
DingLoginResiResDTO resiResDTO = loginResiResDTOResult.getData(); |
|
|
DingLoginResiResDTO resiResDTO = loginResiResDTOResult.getData(); |
|
|
|
|
|
// 网格id
|
|
|
|
|
|
resDTO.setGridId(loginResiResDTOResult.getData().getGridId()); |
|
|
|
|
|
|
|
|
// 3.生成token,并且存放Redis
|
|
|
// 3.生成token,并且存放Redis
|
|
|
String token = this.saveTokenDtoHfive(AppClientConstant.APP_RESI, AppClientConstant.LAN_TU, resiResDTO.getEpmetUserId(), getCurrentCustomerId()); |
|
|
String token = this.saveTokenDtoHfive(AppClientConstant.APP_RESI, AppClientConstant.LAN_TU, resiResDTO.getEpmetUserId(), getCurrentCustomerId()); |
|
|