feat: 消息中心-站内信管理

This commit is contained in:
2025-09-18 17:47:35 +08:00
parent 73bc5aec6b
commit 8afdb0d09e
26 changed files with 1929 additions and 135 deletions

View File

@@ -0,0 +1,40 @@
import { request } from "@umijs/max";
export interface SmsLogVO {
id: number | null;
channelId: number | null;
channelCode: string;
templateId: number | null;
templateCode: string;
templateType: number | null;
templateContent: string;
templateParams: Map<string, object> | null;
apiTemplateId: string;
mobile: string;
userId: number | null;
userType: number | null;
sendStatus: number | null;
sendTime: Date | null;
apiSendCode: string;
apiSendMsg: string;
apiRequestId: string;
apiSerialNo: string;
receiveStatus: number | null;
receiveTime: Date | null;
apiReceiveCode: string;
apiReceiveMsg: string;
createTime: Date | null;
}
// 查询短信日志列表
export async function getSmsLogPage(params: PageParam) {
return request("/system/sms-channel/page", {
method: "GET",
params,
});
}
// 导出短信日志
// export const exportSmsLog = (params) => {
// return request.download({ url: '/system/sms-log/export-excel', params })
// }