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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 查询企业信息分页列表数据 POST /api/user/enterprise/getEnterprises */
| export async function getEnterprises(body: API.GetEnterprisesQuery, options?: API.RequestConfig) {
| return request<API.PagedListQueryResultGetEnterprisesQueryResultItem>(
| '/api/user/enterprise/getEnterprises',
| {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| }
| );
| }
|
| /** 保存企业 POST /api/user/enterprise/saveEnterprise */
| export async function saveEnterprise(body: API.SaveEnterpriseCommand, options?: API.RequestConfig) {
| return request<string>('/api/user/enterprise/saveEnterprise', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 设置企业电子签配置 PUT /api/user/enterprise/setEnterpriseElectronSignSetting */
| export async function setEnterpriseElectronSignSetting(
| body: API.SetEnterpriseElectronSignSettingCommand,
| options?: API.RequestConfig
| ) {
| return request<string>('/api/user/enterprise/setEnterpriseElectronSignSetting', {
| method: 'PUT',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 设置企业短信配置 PUT /api/user/enterprise/setEnterpriseSmsSetting */
| export async function setEnterpriseSmsSetting(
| body: API.SetEnterpriseSmsSettingCommand,
| options?: API.RequestConfig
| ) {
| return request<string>('/api/user/enterprise/setEnterpriseSmsSetting', {
| method: 'PUT',
| headers: {
| 'Content-Type': 'application/json-patch+json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|