import { defHttp } from '/@/utils/http/axios';
enum Api {
  readyPrepare = '/visit/prePrepare/query/personList',
  prePrepareSailing = '/visit/prePrepare/query/sailings',
  wardInfo = '/biz/sys/wardInfo/query/list',
}

/**
 * @description: 获取透前准备页面人员信息
 * @method: POET
 */
export const readyPrepare = (params?: object) => {
  return defHttp.post({ url: Api.readyPrepare, params: params });
};

export const wardInfo = (params?: object) => {
  return defHttp.post({ url: Api.wardInfo, params: params });
};

export const prePrepareSailing = (params?: object) => {
  return defHttp.get({ url: Api.prePrepareSailing, params: params });
};
