Commit 4d2b4475 by feixiang

修改接收参数

parent ded3eaf0
...@@ -15,8 +15,8 @@ use Swoft\Core\ResultInterface; ...@@ -15,8 +15,8 @@ use Swoft\Core\ResultInterface;
/** /**
* The interface of demo service * The interface of demo service
* *
* @method ResultInterface deferSend(int $storeId, array $sendTypes, array $data, int $sendTime, string $redisKey) :bool * @method ResultInterface deferSend(int $storeId, array $sendTypes, array $data, $sendTime, string $redisKey) :bool
* @method ResultInterface deferCancelSend(int $storeId, array $sendTypes, array $data, int $sendTime, string $redisKey) :bool * @method ResultInterface deferCancelSend(string $redisKey):bool
*/ */
interface NoticeInterface interface NoticeInterface
{ {
...@@ -80,11 +80,11 @@ interface NoticeInterface ...@@ -80,11 +80,11 @@ interface NoticeInterface
* *
* @param array $sendTypes * @param array $sendTypes
* @param array $data * @param array $data
* @param int $sendTime //发送时间,立即返送填0 * @param $sendTime //发送时间,立即返送填0
* @param string $redisKey //发送事件的redis key(如果定时发送消息,中途需要取消则需要传入此项) * @param string $redisKey //发送事件的redis key(如果定时发送消息,中途需要取消则需要传入此项)
* @return mixed * @return mixed
*/ */
public function send(array $sendTypes, array $data, int $sendTime, string $redisKey='') :bool; public function send(array $sendTypes, array $data, $sendTime, string $redisKey='') :bool;
/** /**
......
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