新增专区,调整分页bug

This commit is contained in:
2024-09-05 14:05:14 +08:00
parent b990456593
commit 9a6c4d30f4
24 changed files with 448 additions and 9 deletions

View File

@@ -29,4 +29,24 @@ export const deleteOption = async function() {
// 提交意见反馈
export const aboutUs = async function() {
return await GET(`/wx/aboutUs`);
}
// 获取特色服务列表
export const getServicesList = async function() {
return await GET(`/wx/getServicesList?status=2`);
}
// 获取分类列表
export const getCategoryList = async function() {
return await GET(`/wx/getCategoryList?status=2`);
}
// 获取分类列表
export const getEncyclopediaList = async function(categoryId, page) {
return await GET(`/wx/getEncyclopedia?status=2&page=${page}&categoryId=${categoryId}`);
}
// 获取分类列表
export const getEncyclopediaDetail = async function(id) {
return await GET(`/wx/getEncyclopediaDetail/${id}`);
}