feat: 增加网站域名管理
This commit is contained in:

committed by
zhengkunwang223

parent
42134e315b
commit
35e85930b9
@@ -29,3 +29,11 @@ export const UpdateGroup = (req: WebSite.GroupOp) => {
|
||||
export const DeleteGroup = (id: number) => {
|
||||
return http.delete<any>(`/websites/groups/${id}`);
|
||||
};
|
||||
|
||||
export const ListDomains = (id: number) => {
|
||||
return http.get<WebSite.Domain[]>(`/websites/domains/${id}`);
|
||||
};
|
||||
|
||||
export const DeleteDomain = (id: number) => {
|
||||
return http.delete<any>(`/websites/domains/${id}`);
|
||||
};
|
||||
|
Reference in New Issue
Block a user