在购买金豆商品成功后记录消费信息,并简化消费记录模型字段
This commit is contained in:
@@ -132,6 +132,7 @@ func (h Controller) BuyGoldItem(data *item.C2S_GOLD_BUY_PRODUCT, player *player.
|
||||
case 1:
|
||||
player.User.UpdateGold(player.Info.UserID, -int64(usegold))
|
||||
//购买成功,执行记录
|
||||
player.Service.GoldLog.Log(uint32(pro.ProductID), uint32(data.Count))
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user