wupengfei 2 years ago
parent
commit
268d23b866
1 changed files with 2 additions and 1 deletions
  1. 2 1
      thinkphp/library/think/Hook.php

+ 2 - 1
thinkphp/library/think/Hook.php

@@ -132,9 +132,10 @@ class Hook
             $result = call_user_func_array($class, [ & $params, $extra]);
         } else {
             $obj    = new $class();
+            var_dump($class,$method);
             $method = ($tag && is_callable([$obj, $method])) ? $method : 'run';
             $result = $obj->$method($params, $extra);
-            var_dump($result);
+
         }
 
         if (App::$debug) {