巅峰赛竞猜币换成邮件转换
parent
ff2bb3013b
commit
e0568b2717
|
@ -444,10 +444,13 @@ public class ChampionshipLogic {
|
|||
costs[0] = new int[2];
|
||||
costs[0][0] = arenaItemId;
|
||||
costs[0][1] = itemNum;
|
||||
// Map<Integer, Long> itemReward = new HashMap<>(1);
|
||||
// itemReward.put(rewardItemId, (long) (itemNum / sChampionshipSetting.getExchangeItem()));
|
||||
String title = SErrorCodeEerverConfig.getI18NMessage("champion_bet_title");
|
||||
String content = SErrorCodeEerverConfig.getI18NMessage("champion_bet_content");
|
||||
MailLogic.getInstance().sendMail(user.getId(),title,content,rewardItemId+"#"+(itemNum / sChampionshipSetting.getExchangeItem()),TimeUtils.nowInt(),Global.MAIL_EFFECTIVE_TIME);
|
||||
ItemUtil.itemCost(user, costs, BIReason.CHAMPIONM_EXCHANGE_CONSUME, sendId);
|
||||
Map<Integer, Long> itemReward = new HashMap<>(1);
|
||||
itemReward.put(rewardItemId, (long) (itemNum / sChampionshipSetting.getExchangeItem()));
|
||||
ItemUtil.addItem(user, itemReward, null, BIReason.CHAMPIONM_EXCHANGE_REWARD);
|
||||
// ItemUtil.addItem(user, itemReward, null, BIReason.CHAMPIONM_EXCHANGE_REWARD);
|
||||
}
|
||||
LOGGER.info("the uid={},send rewardnum={}", itemNum / sChampionshipSetting.getExchangeItem());
|
||||
|
||||
|
|
Loading…
Reference in New Issue