mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-25 00:00:53 +00:00
feat: 增加系统临时文件清理功能 (#2402)
This commit is contained in:
@@ -39,6 +39,13 @@ export const handleExpired = (param: Setting.PasswordUpdate) => {
|
||||
return http.post(`/settings/expired/handle`, param);
|
||||
};
|
||||
|
||||
export const scanSystem = () => {
|
||||
return http.post<Setting.CleanData>(`/settings/scan`, {});
|
||||
};
|
||||
export const cleanSystem = (param: any) => {
|
||||
return http.post(`/settings/clean`, param);
|
||||
};
|
||||
|
||||
export const loadTimeZone = () => {
|
||||
return http.get<Array<string>>(`/settings/time/option`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user