@@ -96,7 +96,7 @@ class Api
check_cors_request();
// 检测IP是否允许
- check_ip_allowed();
+ //check_ip_allowed();
//移除HTML标签
$this->request->filter('trim,strip_tags,htmlspecialchars');
@@ -49,7 +49,7 @@ class Frontend extends Controller
$actionname = strtolower($this->request->action());
// 如果有使用模板布局
if ($this->layout) {