Commit aa09a770 authored by hujiebin's avatar hujiebin

candy横幅

parent 5c685c14
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment