Commit 30c56612cabded2143c2375da71489d0086807fc
1 parent
6fcb017c
Exists in
master
提交
Showing
2 changed files
with
2 additions
and
2 deletions
Show diff stats
src/HttpServer/logic/httpserver.go
... | ... | @@ -386,7 +386,7 @@ func Fetchredbag(w http.ResponseWriter, r *http.Request) { |
386 | 386 | r.Body.Close() |
387 | 387 | |
388 | 388 | s := string(result) |
389 | - logger.Info("Fetchredbag , body:%v,uuid=%v", s, uniqueid) | |
389 | + logger.Info("Fetchredbag , body:%v,uuid=%v,gameid=%v,channel=%v", s, uniqueid, gameid, channel) | |
390 | 390 | |
391 | 391 | HandlerFetchredbag(w, s, uniqueid, gameid, channel, Uuid) |
392 | 392 | } | ... | ... |
src/HttpServer/logic/logic.go
... | ... | @@ -149,7 +149,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uniqueuuid, gameid, |
149 | 149 | break |
150 | 150 | } |
151 | 151 | |
152 | - readaddgold := uinfo.FetchRedPacket(rdata.Gameid, rdata.Channel, uuid) | |
152 | + readaddgold := uinfo.FetchRedPacket(gameid, channel, uuid) | |
153 | 153 | logger.Info("HandlerFetchredbag uid=%v radladdgold=%v rdata=%v", uuid, readaddgold, rdata) |
154 | 154 | |
155 | 155 | resp.Data.Walletgold = uinfo.RealGold | ... | ... |