|
@@ -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)
|