delCoolDownFirstLoginFlag

This commit is contained in:
wxp01309236
2023-06-20 22:12:04 +08:00
parent c39891a98b
commit a95912347f
2 changed files with 4 additions and 4 deletions

View File

@@ -373,12 +373,12 @@ public class HyPartnerLineInfoServiceImpl implements HyPartnerLineInfoService {
// todo wxp 需要加条件
HyPartnerLineInfoDO lineInfoDO = hyPartnerLineInfoDAO.getByPartnerId(partnerId);
BeanUtil.copyProperties(lineInfoDO, lineBaseInfoVO);
String coolingPeriodFirstLoginCacheKey = MessageFormat.format(RedisConstant.COOLINGPERIOD_FIRSTLOGIN_KEY, partnerId);
String coolingPeriodFirstLoginCacheKey = MessageFormat.format(RedisConstant.COOLINGPERIOD_FIRSTLOGIN_KEY, lineInfoDO.getId());
String value = redisUtilPool.getString(coolingPeriodFirstLoginCacheKey);
lineBaseInfoVO.setCoolDownFirstLoginFlag(StringUtils.isNotBlank(value));
lineBaseInfoVO.setPartnerLineId(lineInfoDO.getId());
lineBaseInfoVO.setCause(lineInfoDO.getRejectPublicReason());
return lineBaseInfoVO;
}