list.ts 408 B

1234567891011121314151617181920
  1. import { defHttp } from '/@/utils/http/axios';
  2. import { PageParams, RentListGetResultModel } from './model';
  3. enum Api {
  4. pageList = '/zfb/feedback/list',
  5. }
  6. /**
  7. * @description: Get sample list value
  8. */
  9. export const ListApi = (params: PageParams) =>
  10. defHttp.get<RentListGetResultModel>({
  11. url: Api.pageList,
  12. params,
  13. headers: {
  14. // @ts-ignore
  15. ignoreCancelToken: true,
  16. },
  17. });