mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-03-04 04:54:16 +08: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);
|
||
|
};
|