Commit cef44d7c81e648ef2bdc52e5aa216b2d1f1675c9
1 parent
9c16f733
Exists in
master
提交
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/logic.go
... | ... | @@ -963,7 +963,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { |
963 | 963 | break |
964 | 964 | } |
965 | 965 | |
966 | - uinfo.StoreRandRedBag++ | |
966 | + uinfo.StoreRandRedBag = 1 | |
967 | 967 | resp.Data.Getnum = 0 |
968 | 968 | break |
969 | 969 | } else { |
... | ... | @@ -983,7 +983,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { |
983 | 983 | //addgold := int(addnum * 10000) |
984 | 984 | resp.Data.Getnum = addnum |
985 | 985 | |
986 | - uinfo.StoreRandRedBag-- | |
986 | + uinfo.StoreRandRedBag = 0 | |
987 | 987 | uinfo.SumRandRedBagTimes++ |
988 | 988 | uinfo.RandRedBagLeftTime-- |
989 | 989 | ... | ... |