Commit 40c23e52 authored by zhoujun's avatar zhoujun

浦江IP白名单

parent 3ce54b91
Pipeline #2012 passed with stage
in 1 second
......@@ -44,7 +44,7 @@ class AdminController extends Controller
$ips = explode(',',$ip);
if(!in_array($ips[0],['116.227.124.169','116.227.126.145','180.157.250.155'])){
if(!in_array($ips[0],['116.227.124.169','116.227.126.145','180.157.250.155','114.86.189.146'])){
abort(404);
exit();
}
......@@ -69,7 +69,7 @@ class AdminController extends Controller
$ips = explode(',',$ip);
if(!in_array($ips[0],['116.227.124.169','116.227.126.145','180.157.250.155'])){
if(!in_array($ips[0],['116.227.124.169','116.227.126.145','180.157.250.155','114.86.189.146'])){
exit('页面走丢了');
return false;
}
......
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 to comment