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
| /* eslint-disable */
| // @ts-ignore
| import { request } from '@/utils/request';
|
| /** 获取预览数据 GET /api/Common/GetPreViewCache */
| export async function getPreViewCache(
| // 叠加生成的Param类型 (非body参数swagger默认没有生成对象)
| params: API.APIgetPreViewCacheParams,
| options?: API.RequestConfig
| ) {
| return request<string>('/api/Common/GetPreViewCache', {
| method: 'GET',
| params: {
| ...params,
| },
| ...(options || {}),
| });
| }
|
| /** 发送验证码 POST /api/Common/SendVerificationCode */
| export async function sendVerificationCode(
| body: API.SendPhoneVerificationCodeByBusinessTypeInput,
| options?: API.RequestConfig
| ) {
| return request<number>('/api/Common/SendVerificationCode', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
| /** 写入预览数据 POST /api/Common/SetPreViewCache */
| export async function setPreViewCache(body: API.SetPreViewCacheInput, options?: API.RequestConfig) {
| return request<string>('/api/Common/SetPreViewCache', {
| method: 'POST',
| headers: {
| 'Content-Type': 'application/json',
| },
| data: body,
| ...(options || {}),
| });
| }
|
|