import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import { ElectricityBillQuery, ElectricityBillResult } from './types';

export const getElectricityBill = (params: ElectricityBillQuery): AxiosPromise<ElectricityBillResult> => {
  return request({
    url: '/electricityManagement/electricityBill',
    method: 'get',
    params
  });
};
