From 8bb0b662e5c857c1d0948a054ca9bae7102c8aa1 Mon Sep 17 00:00:00 2001 From: unknown <尹诚诚@HAINATRAVEL.COM> Date: Mon, 17 Apr 2023 13:52:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0IP=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/third_party/fastapi/controllers/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/third_party/fastapi/controllers/index.php b/application/third_party/fastapi/controllers/index.php index 2d5c4bb6..864c40f6 100644 --- a/application/third_party/fastapi/controllers/index.php +++ b/application/third_party/fastapi/controllers/index.php @@ -43,7 +43,7 @@ class Index extends CI_Controller public function query($sql,$database) { - if ($this->input->ip_address() !== '116.8.4.34' && $this->input->ip_address() !== '127.0.0.1') { //不是公司的网络则不能访问 + if ($this->input->ip_address() !== '116.8.4.34' && $this->input->ip_address() !== '180.140.114.225' && $this->input->ip_address() !== '127.0.0.1') { //不是公司的网络则不能访问 //echo $this->input->ip_address(); Header("HTTP/1.1 403 Forbidden"); return false;