Authored by chunhua.zhang

udid not allowed

... ... @@ -157,6 +157,11 @@ function cutdown()
local method = http_request.get_method()
local app_version = http_request.get_req_param("app_version")
local udid = http_request.get_req_param("udid")
if method and method == "app.cutdownprice.cut" then
if (not app_version) or ( app_version < "2.9.5") then
... ... @@ -168,6 +173,15 @@ function cutdown()
return
end
end
if udid and udid == "f85b7ca6933c57c0d345d99643cede7" then
ngx.log(ngx.ERR, "[UDID ALLOWED]")
local rsp2 ='{"code": 10000, "message": "OK"}'
ngx.say(rsp2)
ngx.exit(ngx.HTTP_OK)
end
end
---- function read request body
... ...