feat: 增加系统临时文件清理功能 (#2402)

This commit is contained in:
ssongliu
2023-09-28 07:40:17 +00:00
committed by GitHub
parent 2624238354
commit e8564f38ab
17 changed files with 1427 additions and 10 deletions
+7
View File
@@ -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`);
};