Commit f6759c01 by Joneq

修改代码

parent 4afd93d2
Showing with 2 additions and 0 deletions
......@@ -40,6 +40,8 @@ end
-------黑名单Ip
function _Wafcheck.BlackIp(user_ip)
local is_exist ,err = red: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