feat: 优化网站分组 (#372)

This commit is contained in:
zhengkunwang223
2023-03-22 21:42:30 +08:00
committed by GitHub
parent 66a345364f
commit 8d675c81c5
25 changed files with 76 additions and 492 deletions

View File

@@ -43,22 +43,6 @@ export const DeleteWebsite = (req: Website.WebSiteDel) => {
return http.post<any>(`/websites/del`, req);
};
export const ListGroups = () => {
return http.get<Website.Group[]>(`/websites/groups`);
};
export const CreateGroup = (req: Website.GroupOp) => {
return http.post<any>(`/websites/groups`, req);
};
export const UpdateGroup = (req: Website.GroupOp) => {
return http.post<any>(`/websites/groups/update`, req);
};
export const DeleteGroup = (req: Website.DelReq) => {
return http.post<any>(`/websites/groups/del`, req);
};
export const ListDomains = (id: number) => {
return http.get<Website.Domain[]>(`/websites/domains/${id}`);
};