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
40
41
42
| /* 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 || {}),
| });
| }
|
| /** 诚立业短信平台回传通知 POST /api/common/sms/smsChengLiYeNotify */
| export async function smsChengLiYeNotify(
| body: API.SmsChengLiYeNotifyCommand,
| options?: API.RequestConfig
| ) {
| return request<boolean>('/api/common/sms/smsChengLiYeNotify', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|