first commit

This commit is contained in:
liu
2026-05-30 17:38:49 +08:00
commit 2bcb722448
413 changed files with 43656 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
import createAxios from '@/utils/request';
/** 获取邮件配置 */
export async function getMailConfig() {
return createAxios({
url: '/system/mail/config',
method: 'get',
});
}
/** 保存邮件配置 */
export async function saveMailConfig(data: Record<string, any>) {
return createAxios({
url: '/system/mail/save',
method: 'post',
data,
});
}
/** 发送测试邮件 */
export async function sendTestMail(to: string) {
return createAxios({
url: '/system/mail/test',
method: 'post',
data: { to },
});
}