提交 | 用户 | 时间
|
314507
|
1 |
import request from '@/config/axios' |
H |
2 |
|
|
3 |
export interface SmsLogVO { |
|
4 |
id: number | null |
|
5 |
channelId: number | null |
|
6 |
channelCode: string |
|
7 |
templateId: number | null |
|
8 |
templateCode: string |
|
9 |
templateType: number | null |
|
10 |
templateContent: string |
|
11 |
templateParams: Map<string, object> | null |
|
12 |
apiTemplateId: string |
|
13 |
mobile: string |
|
14 |
userId: number | null |
|
15 |
userType: number | null |
|
16 |
sendStatus: number | null |
|
17 |
sendTime: Date | null |
|
18 |
apiSendCode: string |
|
19 |
apiSendMsg: string |
|
20 |
apiRequestId: string |
|
21 |
apiSerialNo: string |
|
22 |
receiveStatus: number | null |
|
23 |
receiveTime: Date | null |
|
24 |
apiReceiveCode: string |
|
25 |
apiReceiveMsg: string |
|
26 |
createTime: Date | null |
|
27 |
} |
|
28 |
|
|
29 |
// 查询短信日志列表 |
|
30 |
export const getSmsLogPage = (params: PageParam) => { |
|
31 |
return request.get({ url: '/system/sms-log/page', params }) |
|
32 |
} |
|
33 |
|
|
34 |
// 导出短信日志 |
|
35 |
export const exportSmsLog = (params) => { |
|
36 |
return request.download({ url: '/system/sms-log/export-excel', params }) |
|
37 |
} |