Commit cca96a45 by Joneq

增加代码

parent a3300db9
Showing with 0 additions and 2 deletions
......@@ -40,8 +40,6 @@ end
-------黑名单Ip
function _Wafcheck.BlackIp(user_ip,redis)
local is_exist ,err = redis:sismember('ichunt_waf_black_ip', user_ip)
ngx.say(is_exist)
ngx.say(err)
if is_exist == 1 then
return "exist"
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 sign in to comment