Commit 1ea6b2ab authored by chenweijian's avatar chenweijian

check go panic

parent b5b429f3
...@@ -99,6 +99,7 @@ func SendDiamondChange(userId uint64, diamond, pinkDiamond uint32) error { ...@@ -99,6 +99,7 @@ func SendDiamondChange(userId uint64, diamond, pinkDiamond uint32) error {
// param gameType 0:slot 5:luckybox 6:fruit // param gameType 0:slot 5:luckybox 6:fruit
// param gameId 7:slot 8:candy 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 { func SendGlobalGameBanner(winUserId uint64, diamond uint64, avatar string, gameId uint64, gameType uint32) error {
defer utils.CheckGoPanic()
bannerUrl := "" bannerUrl := ""
switch gameType { switch gameType {
case 0: case 0:
......
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