Authored by zhaoqing

消息推送

... ... @@ -129,6 +129,11 @@ public class ProductLimitUserHelpServiceImpl implements IProductLimitUserHelpSer
helpUserSize = helpUserSize + 1;
}
}
logger.info("ProductLimitUserHelpServiceImpl :: addHelpUserInfo helpUserSize is: {}", helpUserSize);
Integer helpLimit = limitProductBo.getHelpLimit();
logger.info("ProductLimitUserHelpServiceImpl :: addHelpUserInfo helpLimit is: {}", helpLimit);
if(helpUserSize < helpLimit){
//推送好友助力成功消息
try {
logger.info("ProductLimitUserHelpServiceImpl: push helpInfo message param : uid is {}, helpUserNum is {}, productName is {}, limitProductCode is {}",limitProductHelpUserRequestBO.getUserId(),
... ... @@ -139,9 +144,7 @@ public class ProductLimitUserHelpServiceImpl implements IProductLimitUserHelpSer
}catch (Exception e){
logger.error("推送助力成功信息失败!", e);
}
logger.info("ProductLimitUserHelpServiceImpl :: addHelpUserInfo helpUserSize is: {}", helpUserSize);
Integer helpLimit = limitProductBo.getHelpLimit();
logger.info("ProductLimitUserHelpServiceImpl :: addHelpUserInfo helpLimit is: {}", helpLimit);
}
if (helpUserSize == helpLimit){
ProductLimitCodeReq limitCodeReq = new ProductLimitCodeReq();
limitCodeReq.setLimitProductCode(limitProductHelpUserRequestBO.getLimitProductCode());
... ...