Commit a8f4b8ff authored by jiangkebao's avatar jiangkebao

添加自定义消息

parent 57204a25
......@@ -16,8 +16,10 @@ interface MessageServiceInterface
* @param array $receiveUserId 接收人id
* @param string $application 应用名称
* @param int $sendUserId 发送人id(发送人id等于0时是系统消息)
* @param int $templateId 模板id
* @param int $templateId 模板id(等于0时直接使用content内容)
* @param array $replace 替换模板内容
* @param string $content 自定义消息内容
* @return bool
*/
public function send(array $receiveUserId, $application, $templateId, $sendUserId = 0, $replace = []): bool;
public function send(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = ''): 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