|
|
@ -194,8 +194,8 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
|
} |
|
|
|
StaffLatestAgencyResultDTO staffLatestAgencyResultDTO = latestStaffWechat.getData(); |
|
|
|
//2022.11.24校验下用户是否被禁用
|
|
|
|
//2.1根据手机号查询到用户信息
|
|
|
|
ThirdCustomerStaffFormDTO dto = new ThirdCustomerStaffFormDTO(); |
|
|
|
//2.1根据手机号查询到用户信息 前端不跳转,暂时先注释吧
|
|
|
|
/* ThirdCustomerStaffFormDTO dto = new ThirdCustomerStaffFormDTO(); |
|
|
|
dto.setCustomerId(staffLatestAgencyResultDTO.getCustomerId()); |
|
|
|
dto.setMobile(staffLatestAgencyResultDTO.getMobile()); |
|
|
|
Result<List<CustomerStaffDTO>> customerStaffResult = epmetUserOpenFeignClient.getCustsomerStaffByIdAndPhone(dto); |
|
|
@ -205,7 +205,7 @@ public class ThirdLoginServiceImpl implements ThirdLoginService, ResultDataResol |
|
|
|
} |
|
|
|
if("disabled".equals(customerStaffResult.getData().get(NumConstant.ZERO).getEnableFlag())){ |
|
|
|
throw new EpmetException(EpmetErrorCode.GOV_STAFF_DISABLED.getCode(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg(),EpmetErrorCode.GOV_STAFF_DISABLED.getMsg()); |
|
|
|
} |
|
|
|
}*/ |
|
|
|
|
|
|
|
//3.记录staff_wechat
|
|
|
|
this.savestaffwechat(staffLatestAgencyResultDTO.getStaffId(), userWechatDTO.getWxOpenId(), staffLatestAgencyResultDTO.getCustomerId()); |
|
|
|