Commit be1b62e4c7903b41ea7e4573636649a4437921a4

Authored by 陆恒
1 parent 39476ebf
Exists in ver2.3.0

提交

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
src/HttpServer/logic/function.go
... ... @@ -504,7 +504,8 @@ func (uinfo *UserData) FetchRedPacket(gameid string, channel string, uuid int) i
504 504 }
505 505 uinfo.RealGold = goldnum
506 506  
507   - SaveUserInfo(uinfo, strconv.Itoa(uuid))
  507 + uniqueid := strconv.Itoa(uuid) + channel
  508 + SaveUserInfo(uinfo, uniqueid)
508 509 return realaddnum
509 510 }
510 511  
... ...