mirror of
https://github.com/continew-org/continew-admin-ui.git
synced 2026-01-13 20:57:09 +08:00
feat: 仪表盘分析页新增地理位置访问分析图表
This commit is contained in:
@@ -20,6 +20,11 @@ export function getDashboardOverviewIp() {
|
||||
return http.get<T.DashboardOverviewCommonResp>(`${BASE_URL}/analysis/overview/ip`)
|
||||
}
|
||||
|
||||
/** @desc 查询地域分析 */
|
||||
export function getAnalysisGeo() {
|
||||
return http.get<T.DashboardChartCommonResp[]>(`${BASE_URL}/analysis/geo`)
|
||||
}
|
||||
|
||||
/** @desc 查询访问趋势 */
|
||||
export function getDashboardAccessTrend(days: number) {
|
||||
return http.get<T.DashboardAccessTrendResp[]>(`${BASE_URL}/access/trend/${days}`)
|
||||
|
||||
Reference in New Issue
Block a user