From c9c60f03bd2d5416658051e85162b1a3a3b8210e Mon Sep 17 00:00:00 2001 From: lynn Date: Tue, 8 Jul 2025 17:09:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=B5=8B=E8=AF=95=E9=82=AE?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/email/index.js | 10 ++++++ src/views/email/index.vue | 69 ++++++++++++++++++++++++++++++++++----- 2 files changed, 70 insertions(+), 9 deletions(-) diff --git a/src/api/email/index.js b/src/api/email/index.js index 4aeea94..76c63c8 100644 --- a/src/api/email/index.js +++ b/src/api/email/index.js @@ -55,4 +55,14 @@ export function getEmailRecordList(params) { method: 'get', params }) +} + + +// 发送邮件 +export function sendEmail(data) { + return request({ + url: '/api/admin/email-record/send-example', + method: 'post', + data + }) } \ No newline at end of file diff --git a/src/views/email/index.vue b/src/views/email/index.vue index 9f4226a..b49a19a 100644 --- a/src/views/email/index.vue +++ b/src/views/email/index.vue @@ -281,10 +281,19 @@ - - - 先发送测试邮件到我的邮箱 - + + + + + + + + + 发送测试邮件 + @@ -623,9 +632,8 @@