Bläddra i källkod

20250228 调整

贾小兵 1 månad sedan
förälder
incheckning
f2230186fc
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      application/admin/library/Auth.php

+ 1 - 1
application/admin/library/Auth.php

@@ -67,7 +67,7 @@ class Auth extends \fast\Auth
         if(!empty($admin->depart_id)){
             // 获取服务器自己的IP地址
             // $server_ip = gethostbyname('localhost');
-            $server_ip = '192.168.1.111';//$_SERVER['REMOTE_ADDR'];//gethostbyname('localhost');
+            $server_ip = '192.168.1.101';//$_SERVER['REMOTE_ADDR'];//gethostbyname('localhost');
             $admin->server_ip = $server_ip;
             $seat_id = Db::name('seat')->where('seat_bind_ip',$server_ip)->value('seat_id');
             if(!empty($seat_id)){