Files
shz-admin/src/services/monitor/server.ts
chenshaohua caa72e1b76
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
修改报错问题
2025-12-31 17:42:31 +08:00

17 lines
248 B
TypeScript

import { request } from '@umijs/max';
/* *
*
* @author whiteshader@163.com
* @datetime 2023/02/07
*
* */
// 获取服务器信息
export async function getServerInfo() {
return request('/api/monitor/server', {
method: 'GET',
});
}