feat: 增加其他TAB页

This commit is contained in:
zhengkunwang223
2022-11-08 17:21:13 +08:00
committed by zhengkunwang223
parent d5aee147f4
commit 38a439e0d6
9 changed files with 178 additions and 9 deletions

View File

@@ -10,6 +10,14 @@ export const CreateWebsite = (req: WebSite.WebSiteCreateReq) => {
return http.post<any>(`/websites`, req);
};
export const UpdateWebsite = (req: WebSite.WebSiteUpdateReq) => {
return http.post<any>(`/websites/update`, req);
};
export const GetWebsite = (id: number) => {
return http.get<WebSite.WebSite>(`/websites/${id}`);
};
export const DeleteWebsite = (req: WebSite.WebSiteDel) => {
return http.post<any>(`/websites/del`, req);
};