diff --git a/module/common/model.php b/module/common/model.php index 10b202baa1..1b408bf5f8 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1210,7 +1210,6 @@ class commonModel extends model * 忽略所有方法名以 ajax 开头的请求。 * Ignore all requests which it's method name starts with 'ajax'. */ - $method = $this->app->getMethodName(); if(strpos($method, 'ajax') === 0) return true; /**