...
|
...
|
@@ -122,6 +122,8 @@ function M:limit_ip_access() |
|
|
ngx.header["Content-type"]="application/json;charset=utf-8"
|
|
|
if limit_type=="3" then
|
|
|
ngx.header["x-yoho-malicode"]="10011"
|
|
|
local rsp ='{"code": 10011, "message": ""}'
|
|
|
ngx.say(rsp)
|
|
|
end
|
|
|
ngx.exit(ngx.HTTP_OK)
|
|
|
end
|
...
|
...
|
|