Commit f4c7f688 by feixiang

发送消息

parent 2075efd7
......@@ -15,7 +15,7 @@ use Swoft\Core\ResultInterface;
/**
* The interface of demo service
*
* @method ResultInterface deferSend(int $sendType, array $data, int $sendTime)
* @method ResultInterface deferSend(int $storeId, array $sendTypes, array $data, int $sendTime) :bool
*/
interface NoticeInterface
{
......@@ -57,10 +57,11 @@ interface NoticeInterface
]
];
*
* @param int $storeId
* @param array $sendTypes
* @param array $data
* @param int $sendTime //发送时间,立即返送填0
* @return mixed
*/
public function send(array $sendTypes, array $data, int $sendTime) : bool ;
public function send(int $storeId, array $sendTypes, array $data, int $sendTime) :bool;
}
\ No newline at end of file
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