feat(system): 添加系统配置API接口

- 新增getSystemConfig方法用于获取系统配置
- 实现了loading状态参数支持
- 集成Result类型返回结果封装
- 添加了API文档注释说明
v3.2
tanlianwang 2026-04-01 14:05:47 +08:00
parent c4361b158a
commit 6c78f7372c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import { type Ref } from 'vue'
*
*/
const getSystemConfig: (loading?: Ref<boolean>) => Promise<Result<any>> = (loading) => {
return get('/system_manage/config', undefined, loading)
return get('/config', undefined, loading)
}
export default {