From f0e18b16d08b77d196736596b92e6832f1cd6a73 Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 13 Nov 2024 09:22:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=E6=B5=8B=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- worldsrv/action_friend.go | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/worldsrv/action_friend.go b/worldsrv/action_friend.go index c6fa651..e627340 100644 --- a/worldsrv/action_friend.go +++ b/worldsrv/action_friend.go @@ -15,7 +15,6 @@ import ( "mongo.games.com/game/model" "mongo.games.com/game/proto" "mongo.games.com/game/protocol/friend" - "mongo.games.com/game/protocol/welfare" "mongo.games.com/game/srvdata" ) @@ -603,29 +602,6 @@ func (this *CSFuzzyQueryPlayerHandler) Process(s *netlib.Session, packetid int, return nil } - pack2 := &welfare.NotifyLotteryAward{ - Info: &welfare.LotteryInfo{ - Id: 45, - StartTs: time.Now().Unix(), - Index: int32(5), - Award: []*welfare.PropInfo{ - { - ItemId: 100001, - ItemNum: 100, - }, - }, - SnId: p.SnId, - Name: p.Name, - RoleId: p.Roles.ModId, - Price: 1000, - WinCode: "123456", - }, - } - - // 广播中奖结果 - PlayerMgrSington.BroadcastMessageToPlatform(p.Platform, int(welfare.SPacketID_PACKET_NotifyLotteryAward), pack2) - logger.Logger.Tracef("广播中奖信息: %v", pack2) - queryContent := msg.GetQueryContent() if utf8.RuneCountInString(queryContent) < 3 { return nil