Files
2026-02-26 09:32:03 +08:00

25 lines
515 B
TypeScript

/* eslint-disable */
// @ts-ignore
import request from '@/http/vue-query';
import type { CustomRequestOptions } from '@/http/types';
import * as API from './types';
/** 发送验证码 POST /app/sms/send */
export async function appSmsSendPost({
body,
options,
}: {
body: API.SendSmsBo;
options?: CustomRequestOptions;
}) {
return request<API.RString>('/app/sms/send', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
data: body,
...(options || {}),
});
}