暂存工作台的修改
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
Reference in New Issue
Block a user