Browse Source

提交数据

lvhao 3 months ago
parent
commit
6d157be8fe
1 changed files with 3 additions and 3 deletions
  1. 3 3
      core/CoreApp/controllers/Apidsyskxcx.php

+ 3 - 3
core/CoreApp/controllers/Apidsyskxcx.php

@@ -25,9 +25,9 @@ class Apidsyskxcx extends Start_Controller
     {
         $ip = $_SERVER['REMOTE_ADDR'];
 
-        if (!in_array($ip, $this->ip)) {
-            exit("Unauthorized access");
-        }
+        // if (!in_array($ip, $this->ip)) {
+        //     exit("Unauthorized access");
+        // }
         $user_agent = empty($_SERVER['HTTP_USER_AGENT']) ? "" : $_SERVER['HTTP_USER_AGENT'];
         $token = empty($_SERVER['HTTP_X_AUTH_TOKEN']) ? "" : $_SERVER['HTTP_X_AUTH_TOKEN'];
         $time =  $this->input->get('time', true);