소스 검색

20250228 调整

贾小兵 1 개월 전
부모
커밋
f2230186fc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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)){