format champion mail content
parent
a1f98bdc00
commit
dc80e9b288
|
@ -361,8 +361,9 @@ public class ChampionshipLogic {
|
|||
if(user.getArenaManager().getTopMaxRank()==0 || user.getArenaManager().getTopMaxRank()>rank){
|
||||
user.getArenaManager().setTopMaxRank(rank);
|
||||
}
|
||||
rank++;
|
||||
String title = SErrorCodeEerverConfig.getI18NMessage("champion_reward_title");
|
||||
String content = SErrorCodeEerverConfig.getI18NMessage("champion_reward_txt",new Object[]{rank++});
|
||||
String content = SErrorCodeEerverConfig.getI18NMessage("champion_reward_txt",new Object[]{sChampionshipReward.getTitleDesc()});
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,ItemUtil.getMailReward(sChampionshipReward.getSeasonReward()),nowTime, Global.MAIL_EFFECTIVE_TIME);
|
||||
}
|
||||
MongoUtil.getLjsdMongoTemplate().lastUpdate();
|
||||
|
|
|
@ -16,6 +16,8 @@ public class SChampionshipReward implements BaseConfig {
|
|||
|
||||
private int[][] seasonReward;
|
||||
|
||||
private String titleDesc;
|
||||
|
||||
|
||||
@Override
|
||||
public void init() throws Exception {
|
||||
|
@ -39,5 +41,7 @@ public class SChampionshipReward implements BaseConfig {
|
|||
return seasonReward;
|
||||
}
|
||||
|
||||
|
||||
public String getTitleDesc() {
|
||||
return titleDesc;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue