You've already forked DataMate
feat: add file copying functionality to dataset directory and update base path configuration
This commit is contained in:
@@ -28,3 +28,13 @@ export function deleteModelByIdUsingDelete(id: string | number) {
|
||||
return del(`/api/models/${id}`);
|
||||
}
|
||||
|
||||
|
||||
// 获取系统参数列表
|
||||
export function getSysParamList() {
|
||||
return get('/api/sys-param/list');
|
||||
}
|
||||
|
||||
// 更新系统参数值
|
||||
export const updateSysParamValue = async (params: { id: string; paramValue: string }) => {
|
||||
return put(`/api/sys-param/${params.id}`, params);
|
||||
};
|
||||
Reference in New Issue
Block a user