feat(system): 添加系统配置API接口
- 新增getSystemConfig方法用于获取系统配置 - 实现了loading状态参数支持 - 集成Result类型返回结果封装 - 添加了API文档注释说明v3.2
parent
c4361b158a
commit
6c78f7372c
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue