修复抽奖奖励邮件
This commit is contained in:
parent
7e80a3d37b
commit
342d2fde1f
|
@ -321,6 +321,7 @@ const (
|
|||
GainWayItemBagChangeDollRevocation = 113 //娃娃兑换后台撤销
|
||||
GainWayPermitReset = 114 //赛季通行证积分重置
|
||||
GainWayClientUpgrade = 115 //客户端升级奖励
|
||||
GainWayLottery = 116 //开奖码抽奖
|
||||
)
|
||||
|
||||
// 后台选择 金币变化类型 的充值 类型id号起始
|
||||
|
|
|
@ -1208,6 +1208,10 @@ func (this *Player) GetMessageAttach(id string) {
|
|||
remark = "客户端升级奖励"
|
||||
gainWay = common.GainWayClientUpgrade
|
||||
addItem()
|
||||
case model.MSGTYPE_Lottery:
|
||||
remark = "竞技管抽奖"
|
||||
gainWay = common.GainWayLottery
|
||||
addItem()
|
||||
}
|
||||
if msg.Coin > 0 {
|
||||
this.AddCoin(msg.Coin, 0, gainWay, msg.Id.Hex(), remark)
|
||||
|
|
Loading…
Reference in New Issue