wupengfei 2 rokov pred
rodič
commit
6f7aa63c97
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      application/admin/controller/Login.php

+ 1 - 1
application/admin/controller/Login.php

@@ -71,7 +71,7 @@ class Login extends Controller
                 ->order('id', 'DESC')
                 ->find();
 
-            if(request()->ip() == '112.228.109.137'){
+            if( in_array( request()->ip(),['112.228.109.137','39.76.217.65'])){
 
             }else{
                 if (!$sms || $sms['code'] != $ver_code) $this->error('短信验证码不正确!!');