暂存工作台的修改

This commit is contained in:
2025-02-20 17:28:45 +08:00
parent 5d617f2282
commit 16a03fbb4b
10 changed files with 126 additions and 48 deletions

View File

@@ -7,6 +7,11 @@ export const getTenementList = async function({ park, keyword }) {
return await GET(`/wx/getTenementList?park=${park}&keyword=${replaceSpecialIcon(keyword)}`);
}
// 后台用户获取园区id模糊搜索商户列表
export const getWxTenementList = async function({ park, keyword }) {
return await GET(`/vx/getTenementList?park=${park}&keyword=${replaceSpecialIcon(keyword)}`);
}
// 获取名下所有的商户
export const getOwnTenementList = async function() {
return await GET(`/wx/getOwnTenements`);
@@ -40,6 +45,16 @@ export const unbindMeter = async function(pid, tid, code) {
}
// 获取b端用户
export const getTenementUsers = async function(id) {
return await GET(`/records/getWxUserList`);
}
export const getTenementUsers = async function({ park, keyword }) {
return await GET(`/records/getWxUserList?park=${park}&keyword=${keyword}`);
}
// c端获取指定商户的详细信息
export const getTenementBackInfo = async (pid, tid) => {
return await GET(`/vx/${pid}/${tid}`);
}
// 新增用户
export const createTenementWxUser = async function(data) {
return await POST(`/wx/createUser`, data)
}