1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
| import type { PageParam, PageResult } from '../../../../packages/effects/request/src';
|
| import { requestClient } from '#/api/request';
|
| export namespace SystemMailLogApi {
| /** 邮件日志 */
| export interface MailLog {
| id: number;
| userId: number;
| userType: number;
| toMails: string[];
| ccMails?: string[];
| bccMails?: string[];
| accountId: number;
| fromMail: string;
| templateId: number;
| templateCode: string;
| templateNickname: string;
| templateTitle: string;
| templateContent: string;
| templateParams: string;
| sendStatus: number;
| sendTime: string;
| sendMessageId: string;
| sendException: string;
| createTime: string;
| }
| }
|
| /** 查询邮件日志列表 */
| export function getMailLogPage(params: PageParam) {
| return requestClient.get<PageResult<SystemMailLogApi.MailLog>>(
| '/system/mail-log/page',
| { params },
| );
| }
|
|