feat:【system】邮箱管理的开发:50% 初始化

This commit is contained in:
YunaiV
2025-12-20 18:04:56 +08:00
parent 968f345839
commit c48b4b908f
17 changed files with 1917 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
import type { PageParam, PageResult } from '@/http/types'
import { http } from '@/http/http'
export interface MailLog {
id?: number
userId?: number
userType?: number
templateId?: number
templateCode?: string
templateTitle?: string
templateContent?: string
templateParams?: Record<string, any>
accountId?: number
fromMail?: string
toMails?: string[]
ccMails?: string[]
bccMails?: string[]
sendStatus?: number
sendTime?: string
sendMessageId?: string
sendException?: string
createTime?: string
}
export function getMailLogPage(params: PageParam) {
return http.get<PageResult<MailLog>>('/system/mail-log/page', params)
}