feat: 计划任务适配网站定时备份

This commit is contained in:
ssongliu
2022-11-30 15:47:11 +08:00
committed by ssongliu
parent f50656320b
commit b64b2e1017
14 changed files with 191 additions and 116 deletions

View File

@@ -26,6 +26,10 @@ export const GetWebsite = (id: number) => {
return http.get<WebSite.WebSiteDTO>(`/websites/${id}`);
};
export const GetWebsiteOptions = () => {
return http.get<Array<string>>(`/websites/options`);
};
export const GetWebsiteNginx = (id: number) => {
return http.get<File.File>(`/websites/${id}/nginx`);
};