From 1ebfd115eb4f488a7a9464415ce061f9ad36eca0 Mon Sep 17 00:00:00 2001 From: zk020106 <1373639299@qq.com> Date: Wed, 22 May 2024 17:38:48 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=82=AE=E4=BB=B6=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apis/system/type.ts | 11 + .../system/config/components/MailSetting.vue | 207 +++++++++++++++++- 2 files changed, 216 insertions(+), 2 deletions(-) diff --git a/src/apis/system/type.ts b/src/apis/system/type.ts index 395a9d9..9347e69 100644 --- a/src/apis/system/type.ts +++ b/src/apis/system/type.ts @@ -280,6 +280,17 @@ export interface BasicConfig { SITE_COPYRIGHT: string } +/** 邮箱配置类型 */ +export interface MailConfig { + MAIL_SEND_TYPE: string + MAIL_SMTP_SERVER: string + MAIL_SMTP_PORT: string + MAIL_SMTP_USERNAME: string + MAIL_SMTP_PASSWORD: string + MAIL_SMTP_VERIFY_TYPE: string + MAIL_FROM: string +} + /** 安全配置类型 */ export interface SecurityConfig { PASSWORD_ERROR_LOCK_COUNT: OptionResp diff --git a/src/views/system/config/components/MailSetting.vue b/src/views/system/config/components/MailSetting.vue index b07efe4..b4d1098 100644 --- a/src/views/system/config/components/MailSetting.vue +++ b/src/views/system/config/components/MailSetting.vue @@ -1,9 +1,212 @@ - +