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
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询短信配置 POST /api/common/sms/getSmsSetting */
| export async function getSmsSetting(body: API.GetSmsSettingQuery, options?: API.RequestConfig) {
| return request<API.GetSmsSettingQueryResult>('/api/common/sms/getSmsSetting', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 保存短信配置 POST /api/common/sms/saveSmsSetting */
| export async function saveSmsSetting(body: API.SaveSmsSettingCommand, options?: API.RequestConfig) {
| return request<string>('/api/common/sms/saveSmsSetting', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|