first commit

This commit is contained in:
liu
2026-07-13 15:23:29 +08:00
commit 50885a98c8
473 changed files with 33772 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 },
});
}