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

enum Api {
  pageList = '/service/manage_jp/storage/list',
}

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

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