1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-04 13:04:13 +08:00

15 lines
410 B
Go
Raw Normal View History

2022-09-15 10:44:43 +08:00
import http from '@/api';
import { Setting } from '../interface/setting';
export const getSettingInfo = () => {
return http.post<Setting.SettingInfo>(`/settings/search`);
};
export const updateSetting = (param: Setting.SettingUpdate) => {
return http.put(`/settings`, param);
};
2022-09-08 18:47:15 +08:00
export const updatePassword = (param: Setting.PasswordUpdate) => {
return http.put(`/settings/password`, param);
};