import { headers } from 'next/dist/client/components/headers';
import request, { Response } from '~/api/request';

export default {
  uploadFile: (data: FormData): Promise<Response<string>> =>
    request('/pms/upload/breakpoint', 'post', data, { headers: {}, body: data }),
};
