mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-11 11:46:38 +08:00
feat(project): 添加vben5前端
This commit is contained in:
12
Yi.Vben5.Vue3/apps/web-antd/src/api/service/index.ts
Normal file
12
Yi.Vben5.Vue3/apps/web-antd/src/api/service/index.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import type { ServerInfo } from './model';
|
||||
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 获取服务器信息
|
||||
* @returns 服务器信息
|
||||
*/
|
||||
export function getServerInfo() {
|
||||
return requestClient.get<ServerInfo>('/monitor-server/info');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user