This commit is contained in:
xiaojunnuo
2024-08-24 01:05:06 +08:00
parent 41b9837582
commit c28f3cdcf7
12 changed files with 54 additions and 24 deletions
@@ -42,10 +42,13 @@ export class EmailService implements IEmailService {
* receivers: string[];
*/
await this.plusService.request('/activation/emailSend', {
subject: email.subject,
text: email.content,
to: email.receivers,
await this.plusService.request({
url: '/activation/emailSend',
data: {
subject: email.subject,
text: email.content,
to: email.receivers,
},
});
}