diff --git a/rpc/user_center_func.go b/rpc/user_center_func.go index 17c5917514162f2830c97f64821aad3847bc7248..a8ab897bbaff415c1d37b0dc823750d659082276 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,