Commit 42352c765aed7360fff358cb00da677a7d196268

Authored by 陆恒
1 parent 2c7b0ff2
Exists in master

提交

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
src/HttpServer/logic/logic.go
... ... @@ -610,6 +610,7 @@ func HandlerGetflyboxreward(w http.ResponseWriter, data string, uuid int) {
610 610 uinfo.AddRedPackect(resp.Data.Getredbag, 100)
611 611 }
612 612  
  613 + uinfo.FlyBoxNumTimes--
613 614 SaveUserInfo(uinfo, strconv.Itoa(uuid))
614 615  
615 616 break
... ... @@ -922,6 +923,8 @@ func HandlerGetboxreward(w http.ResponseWriter, data string, uuid int) {
922 923  
923 924 uinfo.CleadPos(BOXGIFTPOS)
924 925  
  926 + uinfo.EmptyBoxLeftTime--
  927 +
925 928 SaveUserInfo(uinfo, strconv.Itoa(uuid))
926 929  
927 930 break
... ...