Commit 30c56612cabded2143c2375da71489d0086807fc

Authored by 陆恒
1 parent 6fcb017c
Exists in master

提交

src/HttpServer/logic/httpserver.go
@@ -386,7 +386,7 @@ func Fetchredbag(w http.ResponseWriter, r *http.Request) { @@ -386,7 +386,7 @@ func Fetchredbag(w http.ResponseWriter, r *http.Request) {
386 r.Body.Close() 386 r.Body.Close()
387 387
388 s := string(result) 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 HandlerFetchredbag(w, s, uniqueid, gameid, channel, Uuid) 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,7 +149,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uniqueuuid, gameid,
149 break 149 break
150 } 150 }
151 151
152 - readaddgold := uinfo.FetchRedPacket(rdata.Gameid, rdata.Channel, uuid) 152 + readaddgold := uinfo.FetchRedPacket(gameid, channel, uuid)
153 logger.Info("HandlerFetchredbag uid=%v radladdgold=%v rdata=%v", uuid, readaddgold, rdata) 153 logger.Info("HandlerFetchredbag uid=%v radladdgold=%v rdata=%v", uuid, readaddgold, rdata)
154 154
155 resp.Data.Walletgold = uinfo.RealGold 155 resp.Data.Walletgold = uinfo.RealGold