TASK【ID1006397】【活动优化】成长礼金活动邮件删除
parent
c9f8fe8099
commit
cad5b5bc26
|
@ -90,6 +90,8 @@ public class BuyGoodsLogic {
|
|||
}
|
||||
int price =sRechargeCommodityConfig.getPrice();
|
||||
buyCount=buyCount+1;
|
||||
|
||||
//time check
|
||||
int limit = sRechargeCommodityConfig.getLimit();
|
||||
int type = sRechargeCommodityConfig.getType();
|
||||
if(limit!=0){
|
||||
|
@ -311,7 +313,10 @@ public class BuyGoodsLogic {
|
|||
title = SErrorCodeEerverConfig.getI18NMessage("recharge_" + sRechargeCommodityConfig.getType() + "_title",new Object[]{sRechargeCommodityConfig.getName()});
|
||||
content = SErrorCodeEerverConfig.getI18NMessage("recharge_" + sRechargeCommodityConfig.getType() + "_txt",new Object[]{sRechargeCommodityConfig.getName()});
|
||||
}
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardStr,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||
if(!rewardStr.isEmpty()){
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardStr,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||
}
|
||||
|
||||
}
|
||||
if(sRechargeCommodityConfig.getTime() ==5){
|
||||
rechargeInfo.updateRefreshMapByKey(sRechargeCommodityConfig.getId(),TimeUtils.now()+sRechargeCommodityConfig.getDailyUpdate()*TimeUtils.DAY);
|
||||
|
|
Loading…
Reference in New Issue