提交 | 用户 | 时间
|
37b204
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export interface MailLogVO { |
|
4 |
id: number |
|
5 |
userId: number |
|
6 |
userType: number |
|
7 |
toMail: string |
|
8 |
accountId: number |
|
9 |
fromMail: string |
|
10 |
templateId: number |
|
11 |
templateCode: string |
|
12 |
templateNickname: string |
|
13 |
templateTitle: string |
|
14 |
templateContent: string |
|
15 |
templateParams: string |
|
16 |
sendStatus: number |
|
17 |
sendTime: Date |
|
18 |
sendMessageId: string |
|
19 |
sendException: string |
|
20 |
} |
|
21 |
|
|
22 |
// 查询邮件日志列表 |
|
23 |
export const getMailLogPage = async (params: PageParam) => { |
|
24 |
return await request.get({ url: '/system/mail-log/page', params }) |
|
25 |
} |
|
26 |
|
|
27 |
// 查询邮件日志详情 |
|
28 |
export const getMailLog = async (id: number) => { |
|
29 |
return await request.get({ url: '/system/mail-log/get?id=' + id }) |
|
30 |
} |