暂存首页改造,banner

This commit is contained in:
2024-11-26 17:00:51 +08:00
parent cfad35ec52
commit 6af35a4632
16 changed files with 209 additions and 18 deletions

View File

@@ -49,4 +49,9 @@ export const getEncyclopediaList = async function(categoryId, page) {
// 获取分类列表
export const getEncyclopediaDetail = async function(id) {
return await GET(`/wx/getEncyclopediaDetail/${id}`);
}
// 获取分类列表
export const getBannerList = async function(park = "", address = "") {
return await GET(`/wx/getBannerList?park=${park}&address=${address}`);
}