Commit a8d7c924b01be09cf3696fa5b1449589e0548c44

Authored by 陆恒
1 parent ff41d25c
Exists in ver2.3.0

提交

Showing 1 changed file with 3 additions and 2 deletions   Show diff stats
src/HttpServer/logic/function.go
@@ -485,8 +485,9 @@ func (uinfo *UserData) RewardUser(rtype int, num int, gameid string, channel str @@ -485,8 +485,9 @@ func (uinfo *UserData) RewardUser(rtype int, num int, gameid string, channel str
485 return 0, 0, 0, 0, 0, 0, 0, 0 485 return 0, 0, 0, 0, 0, 0, 0, 0
486 case REWARDTYPE_REDPACKAGE: 486 case REWARDTYPE_REDPACKAGE:
487 //todo 487 //todo
488 - readadd := uinfo.FetchRedPacket(gameid, channel, uuid)  
489 - return 0, 0, 0, 0, 0, 0, uinfo.RealGold, readadd 488 + //readadd := uinfo.FetchRedPacket(gameid, channel, uuid)
  489 + //return 0, 0, 0, 0, 0, 0, uinfo.RealGold, readadd
  490 + return 0, 0, 0, 0, 0, 0, 0, 0
490 default: 491 default:
491 return 0, 0, 0, 0, 0, 0, 0, 0 492 return 0, 0, 0, 0, 0, 0, 0, 0
492 } 493 }