feat: 增加回收站开关功能 (#3161)

Refs https://github.com/1Panel-dev/1Panel/issues/2895
This commit is contained in:
zhengkunwang
2023-12-04 06:56:09 +00:00
committed by GitHub
parent 9658ebdfdb
commit d60338f350
16 changed files with 184 additions and 13 deletions
+4
View File
@@ -120,3 +120,7 @@ export const RemoveFavorite = (id: number) => {
export const BatchChangeRole = (params: File.FileRole) => {
return http.post<any>('files/batch/role', params);
};
export const GetRecycleStatus = () => {
return http.get<string>('files/recycle/status');
};