Commit 049ee80c by Joneq

修改代码

parent 9a0183f5
Showing with 3 additions and 1 deletions
......@@ -409,7 +409,9 @@ res , err = red:expire(spider_time .. user_ip , spider_key_exit_time)
res , err = red:expire(spider_count .. user_ip , spider_key_exit_time)
local ok , err = red:close()
ngx.say(ok)
ngx.say(err)
ngx.exit(ngx.HTTP_FORBIDDEN)
......
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