From 42352c765aed7360fff358cb00da677a7d196268 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Tue, 23 Jun 2020 10:01:11 +0800 Subject: [PATCH] 提亀 --- src/HttpServer/logic/logic.go | 3 +++ 1 file changed, 3 insertions(+), 0 deletions(-) diff --git a/src/HttpServer/logic/logic.go b/src/HttpServer/logic/logic.go index 1261859..529cbf8 100644 --- a/src/HttpServer/logic/logic.go +++ b/src/HttpServer/logic/logic.go @@ -610,6 +610,7 @@ func HandlerGetflyboxreward(w http.ResponseWriter, data string, uuid int) { uinfo.AddRedPackect(resp.Data.Getredbag, 100) } + uinfo.FlyBoxNumTimes-- SaveUserInfo(uinfo, strconv.Itoa(uuid)) break @@ -922,6 +923,8 @@ func HandlerGetboxreward(w http.ResponseWriter, data string, uuid int) { uinfo.CleadPos(BOXGIFTPOS) + uinfo.EmptyBoxLeftTime-- + SaveUserInfo(uinfo, strconv.Itoa(uuid)) break -- libgit2 0.21.0