Commit 55e16183 authored by iamhujiebin's avatar iamhujiebin

tmp

parent c7f5c970
...@@ -95,7 +95,7 @@ func SendDiamondChange(userId uint64, diamond uint32) error { ...@@ -95,7 +95,7 @@ func SendDiamondChange(userId uint64, diamond uint32) error {
// param winUserId:胜利的用户id // param winUserId:胜利的用户id
// param gameType 0:slot 5:luckybox 6:fruit // param gameType 0:slot 5:luckybox 6:fruit
// param gameId 7:slot 5:luckybox 6:fruit // param gameId 7:slot 5:luckybox 6:fruit
func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameId uint64, gameType uint32) error { func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameType uint32) error {
bannerUrl := "" bannerUrl := ""
switch gameType { switch gameType {
case 0: case 0:
...@@ -106,7 +106,7 @@ func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameI ...@@ -106,7 +106,7 @@ func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameI
bannerUrl = "https://image.whoisamy.shop/hilo/resource/game/game_banner_fruit.png" bannerUrl = "https://image.whoisamy.shop/hilo/resource/game/game_banner_fruit.png"
} }
msg := &userProxy.GlobalGameBanner{ msg := &userProxy.GlobalGameBanner{
GameId: gameId, //GameId: gameId,
GameType: gameType, GameType: gameType,
UserId: winUserId, UserId: winUserId,
Avatar: avatar, Avatar: avatar,
......
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