1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-03-04 04:54:16 +08:00

11 lines
285 B
Go
Raw Normal View History

2022-10-28 17:04:57 +08:00
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);
};