开始做充值和发票

This commit is contained in:
2024-03-20 11:10:52 +08:00
parent e5c9a96353
commit 7648ace524
59 changed files with 1091 additions and 199 deletions

View File

@@ -7,6 +7,6 @@ export const getMeterList = async function() {
}
// 获取表计详情
export const getMeterDetail = async function() {
export const getMeterDetail = async function({ tenement, code }) {
return await GET(`/wx/getMeterDetail/${tenement}/${code}`);
}

View File

@@ -2,6 +2,6 @@ import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取园区列表
export const getParkList = async function() {
return await GET(`/wx/getParkList`);
export const getParkList = async function({ keyword }) {
return await GET(`/wx/getParkList?keyword=${keyword}`);
}

View File

@@ -2,6 +2,6 @@ import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取园区id模糊搜索商户列表
export const getParkList = async function({ park, keyword }) {
export const getTenementList = async function({ park, keyword }) {
return await GET(`/wx/getTenementList?park=${park}&keyword=${keyword}`);
}