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

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

View File

@@ -66,3 +66,14 @@ export async function getServerTime() {
}
return result;
}
/**
* 获取系统暴露的配置信息
* @returns object
*/
export function getSysConf() {
return request({
url: `/sysConf`,
method: 'get',
});
}

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,
});
}