feat: 完成网站备份功能

This commit is contained in:
ssongliu
2022-11-29 17:39:10 +08:00
committed by ssongliu
parent 1f717bea0e
commit 7b21bcbe7f
28 changed files with 413 additions and 165 deletions

View File

@@ -11,6 +11,10 @@ export const CreateWebsite = (req: WebSite.WebSiteCreateReq) => {
return http.post<any>(`/websites`, req);
};
export const BackupWebsite = (id: number) => {
return http.post(`/websites/backup/${id}`);
};
export const UpdateWebsite = (req: WebSite.WebSiteUpdateReq) => {
return http.post<any>(`/websites/update`, req);
};