You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
371 B
21 lines
371 B
import request from '@/utils/request';
|
|
|
|
const apiPrefix = '/api/vgpu';
|
|
|
|
|
|
class monitorApi {
|
|
summary(data) {
|
|
return request({ apiPrefix, url: apiPrefix + '/v1/summary', method: 'POST', data });
|
|
}
|
|
|
|
usage(data) {
|
|
return request({
|
|
url: apiPrefix + '/v1/monitor/summary',
|
|
method: 'POST',
|
|
data,
|
|
});
|
|
}
|
|
}
|
|
|
|
export default new monitorApi();
|