electricity_bill_calc_wx/service/report.js

8 lines
264 B
JavaScript

import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取电费账单
export const getReportDetail = async function(id) {
const tenement = wx.getStorageSync('tenement')
return await GET(`/report/${id}/tenement/${tenement?.id}`);
}