Files
aiot-uniapp/src/api/system/mail/log/index.ts
YunaiV 0357425ac7 review:【system】邮箱管理的开发:70% 评审具体的实现
review:【system】短信管理的开发
2025-12-20 20:30:15 +08:00

29 lines
684 B
TypeScript

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)
}