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,7 +963,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | ||
| 963 | break | 963 | break |
| 964 | } | 964 | } |
| 965 | 965 | ||
| 966 | - uinfo.StoreRandRedBag++ | 966 | + uinfo.StoreRandRedBag = 1 |
| 967 | resp.Data.Getnum = 0 | 967 | resp.Data.Getnum = 0 |
| 968 | break | 968 | break |
| 969 | } else { | 969 | } else { |
| @@ -983,7 +983,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | @@ -983,7 +983,7 @@ func HandlerGetrandredbag(w http.ResponseWriter, data string, uuid int) { | ||
| 983 | //addgold := int(addnum * 10000) | 983 | //addgold := int(addnum * 10000) |
| 984 | resp.Data.Getnum = addnum | 984 | resp.Data.Getnum = addnum |
| 985 | 985 | ||
| 986 | - uinfo.StoreRandRedBag-- | 986 | + uinfo.StoreRandRedBag = 0 |
| 987 | uinfo.SumRandRedBagTimes++ | 987 | uinfo.SumRandRedBagTimes++ |
| 988 | uinfo.RandRedBagLeftTime-- | 988 | uinfo.RandRedBagLeftTime-- |
| 989 | 989 |