import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { TouQuery, TouResult } from './types';

export const getTouReport = (params: TouQuery): AxiosPromise<TouResult> => {
  return request({
    url: '/electricityManagement/TOU',
    method: 'get',
    params
  });
};
