// @ts-ignore
/* eslint-disable */
import { request } from '@umijs/max';

/** 初始化用户数据库 POST /init/initdb */
export async function postInitInitdb(body: API.InitDB, options?: { [key: string]: any }) {
  return request<API.Response & { data?: string }>(`/api/v1/init/initdb`, {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}
