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.
hippo4j/threadpool/console/src/api/dashborad.js

39 lines
653 B

import request from '@/utils/request'
// dashborad
export function chartInfo() {
return request({
url: '/hippo4j/v1/cs/dashboard',
method: 'get'
})
}
export function lineChart() {
return request({
url: '/hippo4j/v1/cs/dashboard/line/chart',
method: 'get'
})
}
export function pieChart() {
return request({
url: '/hippo4j/v1/cs/dashboard/pie/chart',
method: 'get'
})
}
export function tenantChart() {
return request({
url: '/hippo4j/v1/cs/dashboard/tenant/chart',
method: 'get'
})
}
export function ranking() {
return request({
url: '/hippo4j/v1/cs/dashboard/ranking',
method: 'get'
})
}