feat: 系统设置主要LOGO版权背景修改

This commit is contained in:
TsMask committed 2023-10-25 17:03:56 +08:00
1 parent c3597b929e
commit 9b00ec91b9
20 files changed
+1020 -99

No files matched your search

+11
View File
@@ -66,3 +66,14 @@ export async function getServerTime() {
}
return result;
}
/**
* 获取系统暴露的配置信息
* @returns object
*/
export function getSysConf() {
return request({
url: `/sysConf`,
method: 'get',
});
}
+13
View File
@@ -99,3 +99,16 @@ export function refreshCache() {
method: 'put',
});
}
/**
* 根据参数键名改值
* @param data 参数配置对象 { "key": "sys", "value": "核心网" }
* @returns object
*/
export function changeValue(data: Record<string, string>) {
return request({
url: '/system/config/changeValue',
method: 'put',
data: data,
});
}