Commit 62a7bcc0 authored by fuyunnan's avatar fuyunnan

新加邮件发送rpc

parent 701e94ff
...@@ -22,4 +22,19 @@ interface MessageServiceInterface ...@@ -22,4 +22,19 @@ interface MessageServiceInterface
* @return bool * @return bool
*/ */
public function send(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = ''): bool; public function send(array $receiveUserId, $application, $templateId = 0, $sendUserId = 0, $replace = [], $content = ''): bool;
/**
* description:发送邮件
* author: fuyunnan
* @param array $userList ['111@qq.com','222@qq.com']
* @param string $subject 邮件标题
* @param string $body 邮件内容
* @return bool
* @throws
* Date: 2020/9/10
*/
public function sendMail($userList, $subject, $body): 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