Commit 72cfa7dd authored by 王源's avatar 王源 🎧

Revert "添加无模板发消息"

This reverts commit 0359cf8a.
parent 507e4fe9
......@@ -36,7 +36,7 @@ class MessageHandler
* @param array $replace
* @throws HttpResponseException
*/
public function sendTemp($receiverIds, $templateId, $replace = [],$content)
public function sendTemp($receiverIds, $templateId, $replace = [])
{
$application = $this->config->get('app_name');
if (!$application) {
......@@ -44,7 +44,7 @@ class MessageHandler
}
$receiverIds = is_array($receiverIds) ? $receiverIds : [$receiverIds];
$sendUserId = Auth::id();
$this->messageService->send($receiverIds, $application, $templateId, $sendUserId, $replace,$content);
$this->messageService->send($receiverIds, $application, $templateId, $sendUserId, $replace);
}
}
\ 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