feat: 消息中心-站内信管理
This commit is contained in:
41
src/services/system/message/mail/log.tsx
Normal file
41
src/services/system/message/mail/log.tsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import { request } from "@umijs/max";
|
||||
|
||||
export interface MailLogVO {
|
||||
id: number;
|
||||
userId: number;
|
||||
userType: number;
|
||||
toMail: string;
|
||||
accountId: number;
|
||||
fromMail: string;
|
||||
templateId: number;
|
||||
templateCode: string;
|
||||
templateNickname: string;
|
||||
templateTitle: string;
|
||||
templateContent: string;
|
||||
templateParams: string;
|
||||
sendStatus: number;
|
||||
sendTime: Date;
|
||||
sendMessageId: string;
|
||||
sendException: string;
|
||||
}
|
||||
|
||||
// 查询邮件日志列表
|
||||
// export const getMailLogPage = async (params: PageParam) => {
|
||||
// return await request.get({ url: '/system/mail-log/page', params })
|
||||
// }
|
||||
export async function getMailLogPage(params: PageParam) {
|
||||
return request("/system/mail-log/page", {
|
||||
method: "GET",
|
||||
params,
|
||||
});
|
||||
}
|
||||
// 查询邮件日志详情
|
||||
// export const getMailLog = async (id: number) => {
|
||||
// return await request.get({ url: '/system/mail-log/get?id=' + id })
|
||||
// }
|
||||
export async function getMailLog(id: number) {
|
||||
return request("/system/mail-log/get", {
|
||||
method: "GET",
|
||||
params: { id },
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user