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

+ 1 - 1
addons/qcloudsms/Qcloudsms.php

@@ -43,7 +43,6 @@ class Qcloudsms extends Addons
     public function smsSend(&$params)
     {
         $this->ConfigInit();
-        var_dump($this->config['isTemplateSender']);
         try {
             if ($this->config['isTemplateSender'] == 1) {
                 $templateID = $this->config['template'][$params->event];
@@ -51,6 +50,7 @@ class Qcloudsms extends Addons
                     //普通短信发送
                     $this->sender = new SmsSingleSender($this->appid, $this->appkey);
                     $result = $this->sender->sendWithParam("86", $params['mobile'], $templateID, ["{$params->code}"], $this->config['sign'], "", "");
+                    var_dump($result);
                 } else {
                     //语音短信发送
                     $this->sender = new TtsVoiceSender($this->appid, $this->appkey);