Commit a015b470 by 庄欣

fixbug

parent ef5d95cd
......@@ -38,7 +38,7 @@ http {
end
local sign = params["sign"];
local t = params["t"];
local encodedSign = ngx.md5(device .. t .. version);
local encodedSign = ngx.md5(headers["app-device"] .. t .. version);
if encodedSign ~= sign then
ngx.say('{"code":"100500","message":"发送失败","data":[]}');
return ngx.exit(0)
......
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