import request, { Response } from '~/api/request';

// eslint-disable-next-line import/no-anonymous-default-export
export default {
  uploadFile: (data: FormData): Promise<Response<string>> =>
    request('/pms/upload/breakpoint', 'post', data, { headers: {}, body: data }),
};
