Skip to content

Commit

Permalink
feat: 仪表盘分析页新增地理位置访问分析图表
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Nov 4, 2024
1 parent 89f763a commit 5a095ea
Show file tree
Hide file tree
Showing 8 changed files with 210,315 additions and 215,276 deletions.
5 changes: 5 additions & 0 deletions src/apis/common/dashboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down
Loading

0 comments on commit 5a095ea

Please sign in to comment.