支持微信公众号跳转账单

This commit is contained in:
2025-06-11 08:59:40 +08:00
parent 7772b3de1a
commit a36faa9bcb
5 changed files with 12 additions and 10 deletions

View File

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