diff --git a/rpc/user_center_func.go b/rpc/user_center_func.go index 7689af0528bd9f37e38c4c72400b3bba75e379b1..98e6ea22d271c995d1645478a85f4109bf726119 100644 --- a/rpc/user_center_func.go +++ b/rpc/user_center_func.go @@ -94,7 +94,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 +// param gameId 7:slot 8:candy 5:luckybox 6:fruit func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameId uint64, gameType uint32) error { bannerUrl := "" switch gameType { @@ -105,6 +105,9 @@ func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameI case 6: bannerUrl = "https://image.whoisamy.shop/hilo/resource/game/game_banner_fruit.png" } + if gameId == uint64(8) { + bannerUrl = "https://image.whoisamy.shop/hilo/resource/game/game_banner_fruit.png" // todo! + } msg := &userProxy.GlobalGameBanner{ GameId: gameId, GameType: gameType,