mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-06 17:09:01 +08:00
feat: uniapp 读取分类页设置配置(缓存+默认值兜底)
This commit is contained in:
@@ -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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user