From df749955906d1534bb228ba0248a4e6e6cb3f9ef Mon Sep 17 00:00:00 2001 From: "DESKTOP-45ANQ2C\\unis" <121212121@qq.com> Date: Tue, 31 Dec 2024 17:14:33 +0800 Subject: [PATCH] =?UTF-8?q?=E9=92=BB=E7=9F=B3=E5=AD=98=E9=92=B1=E7=BD=90?= =?UTF-8?q?=E7=9A=84=E9=A2=9D=E5=A4=96=E5=A5=96=E5=8A=B1=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E9=87=91=E5=B8=81=E7=9A=84=E9=A2=9D=E5=A4=96=E5=A5=96?= =?UTF-8?q?=E5=8A=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/welfmgr.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/worldsrv/welfmgr.go b/worldsrv/welfmgr.go index 352855b..accf2b3 100644 --- a/worldsrv/welfmgr.go +++ b/worldsrv/welfmgr.go @@ -1118,7 +1118,7 @@ func (this *WelfareMgr) BlindBoxInfo(p *Player, bid int32) { if cyc == 1 || blindBox.Cycle == model.WelfareOpen { p.WelfData.BlindBoxId = 0 } - } // == 1代表当日循环 + } // == 1代表当日循环 if p.WelfData.BlindBoxId == 0 { // 未领取过发随机Date idx := bid @@ -1988,7 +1988,7 @@ func (this *WelfareMgr) DiamondBankGetInfo(p *Player) { bankInfo.Price = int64(data.DiamondPrice) bankInfo.NowPrice = int64(data.DiamondNowPrice) bankInfo.ShopId = data.DiamondId - for _, v := range data.GoldExc { + for _, v := range data.DiamondExc { bankInfo.DiamondExc[int64(v.ItemId)] = v.ItemNum }