|
@@ -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];
|