import { defHttp } from '@/utils/http/axios';
enum Api {
  LoadCaseInfoNYDList = '/api/DroneCaseInfoSingle/LoadCaseInfoNYDList',
  UpdateDroneCaseInfoBiaoZhu = '/api/DroneCaseInfoSingle/UpdateDroneCaseInfoBiaoZhu',
  ExportCaseInfoNYDShapefile = '/api/DroneCaseInfoSingle/ExportCaseInfoNYDShapefile',
  UpdatePicturePath = '/api/DroneCaseInfoSingle/UpdatePicturePath',
}


export const LoadCaseInfoNYDList = (params) =>
  defHttp.get({ url: Api.LoadCaseInfoNYDList, params });
export const UpdateDroneCaseInfoBiaoZhu = (params: {id: string, biaozhu: number, biaozhuyijian: string,chixujianguan: number}) =>
  defHttp.post({ url: Api.UpdateDroneCaseInfoBiaoZhu, data:params });
export const UpdatePicturePath = (params) =>
  defHttp.post({ url: Api.UpdatePicturePath, data:params });