makela преди 1 седмица
родител
ревизия
381465f158
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      project/service/loginserver/shengtian.lua

+ 2 - 2
project/service/loginserver/shengtian.lua

@@ -182,9 +182,9 @@ function MODULE.upload(uptype, data)
     }
     local str = string.format("game_code=%s&time=%s&uid=%s%s", cdkconf.gameCode, content.time, content.uid, cdkconf.secret)
     content.sign = md5.sumhexa(str)
-    -- trace("shengtian: upload start "..uptype)
+    trace("shengtian: upload start %s uid:%s", uptype, data.uid)
     local ok, statuscode, body = pcall(httpc.post, host, url, content)
-    -- trace("shengtian: upload end "..uptype)
+    trace("shengtian: upload end %s uid:%s", uptype, data.uid)
     local error_msg
     if ok then
         local ret = cjson_decode(body)