修改二维码登录逻辑

This commit is contained in:
2024-03-27 14:44:59 +08:00
parent 3b5525a2a2
commit 61bcbf6f69
11 changed files with 173 additions and 25 deletions

View File

@@ -4,4 +4,14 @@ const { GET, POST, PUT, DELETE } = apis
// 获取园区id模糊搜索商户列表
export const getTenementList = async function({ park, keyword }) {
return await GET(`/wx/getTenementList?park=${park}&keyword=${keyword}`);
}
// 获取名下所有的商户
export const getOwnTenementList = async function() {
return await GET(`/wx/getOwnTenements`);
}
// 获取商户详情
export const getTenementDetail = async function(id) {
return await GET(`/wx/getTenementDetail/${id}`);
}