feat: uniapp 读取分类页设置配置(缓存+默认值兜底)

This commit is contained in:
pikachu1995@126.com
2026-10-22 09:17:58 +08:00
parent 0a47f84c32
commit 1032b6e34d
4 changed files with 106 additions and 1 deletions

View File

@@ -41,3 +41,14 @@ export function getThemeSetting() {
message: false,
});
}
/**
* 获取分类页配置
*/
export function getCategoryPageSetting() {
return http.request({
url: `${api.buyer}/common/site/category-page`,
method: Method.GET,
message: false,
});
}