wupengfei
2 天以前 00b1a7434b5fd2d2f003340c0b66f5fc57716fea
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 查询运营端用户分页列表数据 POST /api/user/user/getOperationUserInfos */
export async function getOperationUserInfos(
  body: API.GetOperationUserInfosQuery,
  options?: API.RequestConfig
) {
  return request<API.PagedListQueryResultGetOperationUserInfosQueryResultItem>(
    '/api/user/user/getOperationUserInfos',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 查询C端人员分页列表数据 POST /api/user/user/getPersonalUserInfos */
export async function getPersonalUserInfos(
  body: API.GetPersonalUserInfosQuery,
  options?: API.RequestConfig
) {
  return request<API.GetPersonalUserInfosQueryResult>('/api/user/user/getPersonalUserInfos', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 查询C端人员签约详情分页列表数据 POST /api/user/user/getPersonalUserInfoSignContracts */
export async function getPersonalUserInfoSignContracts(
  body: API.GetPersonalUserInfoSignContractsQuery,
  options?: API.RequestConfig
) {
  return request<API.GetPersonalUserInfoSignContractsQueryResult>(
    '/api/user/user/getPersonalUserInfoSignContracts',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json-patch+json',
      },
      data: body,
      ...(options || {}),
    }
  );
}
 
/** 查询用户角色列表 GET /api/user/user/getUserInfoRoles */
export async function getUserInfoRoles(
  // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
  params: API.APIgetUserInfoRolesParams,
  options?: API.RequestConfig
) {
  return request<API.GetUserInfoRolesQueryResultItem[]>('/api/user/user/getUserInfoRoles', {
    method: 'GET',
    params: {
      ...params,
    },
    ...(options || {}),
  });
}
 
/** 个人三要素实名认证 POST /api/user/user/personalUserIdentity3Real */
export async function personalUserIdentity3Real(
  body: API.PersonalUserIdentity3RealCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/personalUserIdentity3Real', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 发送个人三要素实名短信 POST /api/user/user/sendPersonalUserIdentity3RealSms */
export async function sendPersonalUserIdentity3RealSms(
  body: API.SendPersonalUserIdentity3RealSmsCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/sendPersonalUserIdentity3RealSms', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 设置用户信息角色 PUT /api/user/user/setUserInfoRoles */
export async function setUserInfoRoles(
  body: API.SetUserInfoRolesCommand,
  options?: API.RequestConfig
) {
  return request<number>('/api/user/user/setUserInfoRoles', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 设置用户信息状态 PUT /api/user/user/setUserInfoStatus */
export async function setUserInfoStatus(
  body: API.SetUserInfoStatusCommand,
  options?: API.RequestConfig
) {
  return request<number>('/api/user/user/setUserInfoStatus', {
    method: 'PUT',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 同步企业用户 POST /api/user/user/syncEnterpriseUser */
export async function syncEnterpriseUser(
  body: API.SyncEnterpriseUserCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/syncEnterpriseUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 同步运营用户 POST /api/user/user/syncOperationUser */
export async function syncOperationUser(
  body: API.SyncOperationUserCommand,
  options?: API.RequestConfig
) {
  return request<string>('/api/user/user/syncOperationUser', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}