import { defHttp } from '/@/utils/http/axios';
import { PageParams, RentListGetResultModel } from './model';

enum Api {
  pageList = '/basic-api/feedback/list',
}

/**
 * @description: Get sample list value
 */

export const ListApi = (params: PageParams) =>
  defHttp.post<RentListGetResultModel>({
    url: Api.pageList,
    params,
    headers: {
      // @ts-ignore
      ignoreCancelToken: true,
    },
  });
