福利红包
parent
c29b7a25cd
commit
e418082371
|
@ -567,13 +567,13 @@ public class ArenaLogic {
|
||||||
RedisUtil.getInstence().del(key);
|
RedisUtil.getInstence().del(key);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
if(rank == 1 && type == GlobalsDef.ARENA_SEASON_REWARD){
|
||||||
|
Poster.getPoster().dispatchEvent(new WelfareRedPackEvent(user.getId(), WelfareRedPacketType.arena_rank.getType(),1));
|
||||||
|
}
|
||||||
String rewardByRank = getRewardByRank(rank++, type);
|
String rewardByRank = getRewardByRank(rank++, type);
|
||||||
if(!"".equals(rewardByRank)){
|
if(!"".equals(rewardByRank)){
|
||||||
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardByRank,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardByRank,nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||||
}
|
}
|
||||||
if(rank == 1){
|
|
||||||
Poster.getPoster().dispatchEvent(new WelfareRedPackEvent(user.getId(), WelfareRedPacketType.arena_rank.getType(),1));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
MongoUtil.getInstence().lastUpdate();
|
MongoUtil.getInstence().lastUpdate();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue