xxxrrrdddd 2 years ago
parent
commit
14abfe8a1e

+ 1 - 1
application/common/controller/Api.php

@@ -96,7 +96,7 @@ class Api
         check_cors_request();
 
         // 检测IP是否允许
-        check_ip_allowed();
+        //check_ip_allowed();
 
         //移除HTML标签
         $this->request->filter('trim,strip_tags,htmlspecialchars');

+ 1 - 1
application/common/controller/Frontend.php

@@ -49,7 +49,7 @@ class Frontend extends Controller
         $actionname = strtolower($this->request->action());
 
         // 检测IP是否允许
-        check_ip_allowed();
+        //check_ip_allowed();
 
         // 如果有使用模板布局
         if ($this->layout) {