商店购买备注

This commit is contained in:
sk 2024-09-07 14:15:56 +08:00
parent 053db5b83a
commit 8174e6c406
1 changed files with 7 additions and 0 deletions

View File

@ -1226,6 +1226,13 @@ func (this *ShopMgr) SendAPICreateOrder(p *Player, ConfigPayId int32, data any,
}
switch shopInfo.Page {
case ShopPageFangKa:
remark = fmt.Sprintf("房卡|%v", shopInfo.Id)
default:
}
dbShop = this.NewDbShop(p, shopInfo.Page, amount[:], ShopConsumeMoney, costNum,
common.GainWay_ShopBuy, itemInfo, shopInfo.Id, shopInfo.Name, 0, remark, []int32{})
err := model.InsertDbShopLog(dbShop)