zhengyiming
8 天以前 2b7fccce78fe4d57d73f4cf350cbe16b75a72fd4
packages/services/apiV2/auth.ts
@@ -62,3 +62,15 @@
    ...(options || {}),
  });
}
/** 发送验证码 POST /api/user/auth/sendVerifyCode */
export async function sendVerifyCode(body: API.SendVerifyCodeCommand, options?: API.RequestConfig) {
  return request<string>('/api/user/auth/sendVerifyCode', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json-patch+json',
    },
    data: body,
    ...(options || {}),
  });
}