From 7a98c379e2f669aef252ed5e0fb4c88a6cb6f900 Mon Sep 17 00:00:00 2001 From: iamhujiebin <458249864@qq.com> Date: Tue, 21 Mar 2023 21:34:29 +0800 Subject: [PATCH] Revert "tmp" This reverts commit 55e161831489325940547d4d64c2e934bcb254e9. --- rpc/user_center_func.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rpc/user_center_func.go b/rpc/user_center_func.go index 17c5917..a8ab897 100644 --- a/rpc/user_center_func.go +++ b/rpc/user_center_func.go @@ -95,7 +95,7 @@ func SendDiamondChange(userId uint64, diamond uint32) error { // param winUserId:胜利的用户id // param gameType 0:slot 5:luckybox 6:fruit // param gameId 7:slot 5:luckybox 6:fruit -func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameType uint32) error { +func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameId uint64, gameType uint32) error { bannerUrl := "" switch gameType { case 0: @@ -106,7 +106,7 @@ func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameT bannerUrl = "https://image.whoisamy.shop/hilo/resource/game/game_banner_fruit.png" } msg := &userProxy.GlobalGameBanner{ - //GameId: gameId, + GameId: gameId, GameType: gameType, UserId: winUserId, Avatar: avatar, -- 2.22.0