Kaynağa Gözat

添加日志

makela 1 hafta önce
ebeveyn
işleme
381465f158
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  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)