/* 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 || {}),
  });
}
