wupengfei 2 年之前
父节点
当前提交
52cf746e72
共有 2 个文件被更改,包括 1 次插入1 次删除
  1. 1 0
      addons/qcloudsms/Qcloudsms.php
  2. 0 1
      thinkphp/library/think/Hook.php

+ 1 - 0
addons/qcloudsms/Qcloudsms.php

@@ -23,6 +23,7 @@ class Qcloudsms extends Addons
     public function ConfigInit()
     {
         $this->config = $this->getConfig();
+        var_dump($this->config);
         //如果使用语音短信  更换成语音短信模板
         if ($this->config['isVoice'] == 1) {
             $this->config['template'] = $this->config['voiceTemplate'];

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

@@ -132,7 +132,6 @@ 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);