Commit fdd3550f by xmy

feat:通知

parent da4fbf8a
......@@ -17,7 +17,7 @@ use Swoft\Core\ResultInterface;
*
* @method ResultInterface deferSend(int $storeId, array $sendTypes, array $data, $sendTime, string $redisKey) :bool
* @method ResultInterface deferCancelSend(string $redisKey):bool
* @method ResultInterface deferCostumerSend(string $openId);
* @method ResultInterface deferCostumerSend(string $openId, int $oemId = 0);
*/
interface NoticeInterface
{
......@@ -111,13 +111,14 @@ interface NoticeInterface
public function send(array $sendTypes, array $data, $sendTime, string $redisKey='') :bool;
/**
* 公众号客服消息
*
* @param string $openId
* @return void
*/
public function costumerSend(string $openId);
/**
* 公众号客服消息
*
* @param string $openId
* @param int $oemId
* @return void
*/
public function costumerSend(string $openId, int $oemId = 0);
/**
......
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