基础设置 内容接入保存接口 ,再登录界面 就调用 接口 显示 默认 的 保存设置

This commit is contained in:
mmc
2026-10-12 15:16:43 +08:00
parent e00eda0709
commit 5d8b9559d0
5 changed files with 156 additions and 39 deletions

18
src/api/global.ts Normal file
View File

@@ -0,0 +1,18 @@
import request from './request';
//新增物模型
export function getSystemParam() {
return request({
url: '/system/param/list',
method: 'get',
});
}
//保存系统参数
export function saveSystemParam(data: any[]) {
return request({
url: '/system/param/save',
method: 'post',
data,
});
}