Commit 5cecc515 by feixiang

发送消息服务优化

parent 822b0357
......@@ -64,7 +64,7 @@ class MiniBackendSender implements SenderInterface
*/
public function getData ()
{
return $this->data;
return $this->data === null?[]:$this->data;
}
/**
......
......@@ -90,7 +90,7 @@ class MiniFrontendSender implements SenderInterface
*/
public function getData ()
{
return $this->data;
return $this->data === null?[]:$this->data;
}
/**
......
......@@ -50,7 +50,7 @@ class MpSender implements SenderInterface
public function getData()
{
return $this->data;
return $this->data === null?[]:$this->data;
}
public function getSendType()
......
......@@ -42,7 +42,7 @@ class TencentSMS implements SenderInterface
public function getData()
{
$this->data;
return $this->data === null?[]:$this->data;
}
public function getSendType()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment