From 8174e6c406f44ae971f091d036b6e728888e9659 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Sat, 7 Sep 2024 14:15:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=95=86=E5=BA=97=E8=B4=AD=E4=B9=B0=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/shopmgr.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worldsrv/shopmgr.go b/worldsrv/shopmgr.go index 75333b9..e01fe96 100644 --- a/worldsrv/shopmgr.go +++ b/worldsrv/shopmgr.go @@ -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)