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

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

@@ -92,7 +92,7 @@ class Hook
         $results = [];
 
         foreach (static::get($tag) as $key => $name) {
-            var_dump($name);
+            var_dump($key,$name);
             $results[$key] = self::exec($name, $tag, $params, $extra);
 
             // 如果返回 false,或者仅获取一个有效返回则中断行为执行