zhengyiming
2025-02-10 958b79ed89b9e742540f714a80261d222c0fc09b
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
/* eslint-disable */
// @ts-ignore
import { request } from '@/utils/request';
 
/** 此处后端没有提供注释 POST /api/PhoneMessage/CheckVerificationCode */
export async function checkVerificationCode(
  body: API.CheckLoginVerificationCodeInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/PhoneMessage/CheckVerificationCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
 
/** 此处后端没有提供注释 POST /api/PhoneMessage/SendVerificationCode */
export async function sendVerificationCode(
  body: API.SendPhoneMessageBaseInput,
  options?: API.RequestConfig
) {
  return request<number>('/api/PhoneMessage/SendVerificationCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}