list.ts 419 B

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