From 6c78f7372c78c1f7632a2fdd013cac9236fc1d86 Mon Sep 17 00:00:00 2001 From: tanlianwang Date: Wed, 1 Apr 2026 14:05:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(system):=20=E6=B7=BB=E5=8A=A0=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E9=85=8D=E7=BD=AEAPI=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增getSystemConfig方法用于获取系统配置 - 实现了loading状态参数支持 - 集成Result类型返回结果封装 - 添加了API文档注释说明 --- ui/src/api/system-settings/system-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/api/system-settings/system-config.ts b/ui/src/api/system-settings/system-config.ts index 6d0de914d..fa5c88adc 100644 --- a/ui/src/api/system-settings/system-config.ts +++ b/ui/src/api/system-settings/system-config.ts @@ -6,7 +6,7 @@ import { type Ref } from 'vue' * 获取系统配置 */ const getSystemConfig: (loading?: Ref) => Promise> = (loading) => { - return get('/system_manage/config', undefined, loading) + return get('/config', undefined, loading) } export default {