Compare commits

..

2 Commits

Author SHA1 Message Date
sk 2429264cfb Merge branch 'develop' into release 2024-10-26 10:34:32 +08:00
sk 342d2fde1f 修复抽奖奖励邮件 2024-10-26 10:31:53 +08:00
2 changed files with 5 additions and 0 deletions

View File

@ -321,6 +321,7 @@ const (
GainWayItemBagChangeDollRevocation = 113 //娃娃兑换后台撤销
GainWayPermitReset = 114 //赛季通行证积分重置
GainWayClientUpgrade = 115 //客户端升级奖励
GainWayLottery = 116 //开奖码抽奖
)
// 后台选择 金币变化类型 的充值 类型id号起始

View File

@ -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)