mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-26 08:00:55 +00:00
11 lines
285 B
Go
11 lines
285 B
Go
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);
|
|
};
|