feat: 添加金豆消费记录功能
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful
添加金豆消费记录表和相关服务,用于记录用户金豆消耗明细 在购买逻辑中预留记录消费的注释位置
This commit is contained in:
@@ -131,6 +131,7 @@ func (h Controller) BuyGoldItem(data *item.C2S_GOLD_BUY_PRODUCT, player *player.
|
||||
|
||||
case 1:
|
||||
player.User.UpdateGold(player.Info.UserID, -int64(usegold))
|
||||
//购买成功,执行记录
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user