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
37
38
39
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询短信日志 POST /api/SmsUtils/GetSmsLogs */
| export async function getSmsLogs(body: API.GetSmsLogsQuery, options?: API.RequestConfig) {
| return request<API.GetSmsLogsQueryResult>('/api/SmsUtils/GetSmsLogs', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 查询短信配置 POST /api/SmsUtils/GetSmsSetting */
| export async function getSmsSetting(body: API.GetSmsSettingQuery, options?: API.RequestConfig) {
| return request<API.GetSmsSettingQueryResult>('/api/SmsUtils/GetSmsSetting', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 保存短信配置 POST /api/SmsUtils/SaveSmsSetting */
| export async function saveSmsSetting(body: API.SaveSmsSettingCommand, options?: API.RequestConfig) {
| return request<string>('/api/SmsUtils/SaveSmsSetting', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|