Commit ea35cb9b by Joneq

增加google验证条状

parent 5513fc82
Showing with 1 additions and 4 deletions
...@@ -14,10 +14,7 @@ function _ReM.checkgoogle(red) ...@@ -14,10 +14,7 @@ function _ReM.checkgoogle(red)
--获取多少时间内同一个ip可以几次302,超过就加入黑名单 --获取多少时间内同一个ip可以几次302,超过就加入黑名单
threezerotwo_second , err = red:get('threezerotwo_second') threezerotwo_second , err = red:get('threezerotwo_second')
ngx.say(11111);
ngx.say(err);
ngx.exit(ngx.OK)
threezerotwo_ip = 'threezerotwo_time_secode_'..user_ip threezerotwo_ip = 'threezerotwo_time_secode_'..user_ip
--如果不存在则设为1 --如果不存在则设为1
if red:get(threezerotwo_ip) == ngx.null then if red:get(threezerotwo_ip) == ngx.null then
......
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