1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { request } from '@umijs/max';
 
export async function getCurrentSystemSettings() {
  return request('/system-settings/current', {
    method: 'GET',
  });
}
 
export async function saveCurrentSystemSettings(data: Record<string, any>) {
  return request('/system-settings/current', {
    method: 'PUT',
    data,
  });
}