mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-27 16:00:59 +00:00
@@ -1,6 +1,10 @@
|
||||
import http from '@/api';
|
||||
import { Dashboard } from '../interface/dashboard';
|
||||
|
||||
export const loadOsInfo = () => {
|
||||
return http.get<Dashboard.OsInfo>(`/dashboard/base/os`);
|
||||
};
|
||||
|
||||
export const loadBaseInfo = (ioOption: string, netOption: string) => {
|
||||
return http.get<Dashboard.BaseInfo>(`/dashboard/base/${ioOption}/${netOption}`);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user