import request from '/@/utils/request';

export const getTemporaryStoragePageAPI = (query?: {
  current?: number;
  size?: number;
  businessType?: number,
  title: string
}) => {
  const data = {
    ...query,
    page: query?.current || 1,
  }
  return request({
    url: '/admin/temporaryStorage/list',
    method: 'post',
    data,
  });
};
