Loading src/Service/Interfaces/MessageServiceInterface.php +15 −0 Original line number Diff line number Diff line Loading @@ -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; } Loading
src/Service/Interfaces/MessageServiceInterface.php +15 −0 Original line number Diff line number Diff line Loading @@ -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; }