Commit caa59e9fbfc320fff4996fc7f8b627b48c55e770

Authored by 陆恒
1 parent 5bac06b9
Exists in master

提交

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
src/HttpServer/logic/logic.go
@@ -314,6 +314,8 @@ func HandlerOnlinentf(w http.ResponseWriter, data string, uniqueuuid, gameid, ch @@ -314,6 +314,8 @@ func HandlerOnlinentf(w http.ResponseWriter, data string, uniqueuuid, gameid, ch
314 314
315 uinfo.Task.OnlineMin++ 315 uinfo.Task.OnlineMin++
316 316
  317 + uinfo.LastUpdateTime = int(time.Now().Unix())
  318 +
317 SaveUserInfo(uinfo, uniqueuuid) 319 SaveUserInfo(uinfo, uniqueuuid)
318 320
319 resp.Code = ERROR_OK 321 resp.Code = ERROR_OK