wupengfei 2 years ago
parent
commit
84fc7130f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      addons/qcloudsms/Qcloudsms.php

+ 1 - 1
addons/qcloudsms/Qcloudsms.php

@@ -23,7 +23,6 @@ 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'];
@@ -44,6 +43,7 @@ class Qcloudsms extends Addons
     public function smsSend(&$params)
     {
         $this->ConfigInit();
+        var_dump($this->config);
         try {
             if ($this->config['isTemplateSender'] == 1) {
                 $templateID = $this->config['template'][$params->event];