import { config, networkUtils } from '../../utils';

const { request } = networkUtils;
const { api } = config;
const { reports } = api;
const { deliver } = reports;

export async function query(params) {
  return request({
    url: deliver,
    method: 'get',
    data: params,
  });
}