mirror of https://github.com/longtai-cn/hippo4j
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.
39 lines
653 B
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'
|
|
})
|
|
}
|