feat: 添加金豆消费记录功能
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

添加金豆消费记录表和相关服务,用于记录用户金豆消耗明细
在购买逻辑中预留记录消费的注释位置
This commit is contained in:
xinian
2026-02-23 07:47:06 +08:00
committed by cnb
parent 84768e3406
commit 75cfc7bcb1
5 changed files with 27 additions and 13 deletions

View File

@@ -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))
//购买成功,执行记录
}