Commit 62a7bcc0 authored by fuyunnan's avatar fuyunnan
Browse files

新加邮件发送rpc

parent 701e94ff
Loading
Loading
Loading
Loading
+15 −0
Original line number Diff line number Diff line
@@ -22,4 +22,19 @@ interface MessageServiceInterface
     * @return 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;


}