Commit 8e1d10dd70fef5f32934fa91a329a19863f55614

Authored by 陆恒
1 parent 82a11e36
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -176,7 +176,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uniqueuuid, gameid, @@ -176,7 +176,7 @@ func HandlerFetchredbag(w http.ResponseWriter, data string, uniqueuuid, gameid,
176 func HandlerGettaskreward(w http.ResponseWriter, data string, uniqueuuid, gameid, channel string, uuid int) { 176 func HandlerGettaskreward(w http.ResponseWriter, data string, uniqueuuid, gameid, channel string, uuid int) {
177 SetHeader(w) 177 SetHeader(w)
178 gettasklock.Lock() 178 gettasklock.Lock()
179 - defer uptasklock.Unlock() 179 + defer gettasklock.Unlock()
180 var resp GettaskrewardResp 180 var resp GettaskrewardResp
181 resp.Code = 0 181 resp.Code = 0
182 var rdata GettaskrewardReq 182 var rdata GettaskrewardReq