feat: 增加网站创建功能

This commit is contained in:
zhengkunwang223
2022-10-28 17:04:57 +08:00
committed by zhengkunwang223
parent a1ac689a5e
commit ef789cdfea
60 changed files with 1156 additions and 70 deletions

View File

@@ -0,0 +1,10 @@
import http from '@/api';
import { WebSite } from '../interface/website';
export const listGroups = () => {
return http.get<WebSite.Group[]>(`/websites/groups`);
};
export const CreateWebsite = (req: WebSite.WebSiteCreateReq) => {
return http.post<any>(`/websites`, req);
};