Commit b0640587 authored by 周尚's avatar 周尚

tk_sync: mesgRetMesg --> mesgRetDesc

parent 05557eaa
......@@ -213,7 +213,7 @@ local function tk_sync()
mesg = "database host invalid"
end
end
-- ngx.say(json.encode({mesgRetCode=code, mesgRetMesg=mesg}))
-- ngx.say(json.encode({mesgRetCode=code, mesgRetDesc=mesg}))
return code, mesg
end
......@@ -221,7 +221,7 @@ end
function TK_SYNC.sync()
local code, mesg = tk_sync()
ngx.say(json.encode({mesgRetCode=code, mesgRetMesg=mesg}))
ngx.say(json.encode({mesgRetCode=code, mesgRetDesc=mesg}))
ngx.eof()
end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment