Skip to content

Commit 798dda9

Browse files
committed
feat: 仪表盘分析页新增地理位置访问分析图表
1 parent 89f763a commit 798dda9

File tree

8 files changed

+210315
-215276
lines changed

8 files changed

+210315
-215276
lines changed

src/apis/common/dashboard.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ export function getDashboardOverviewIp() {
2020
return http.get<T.DashboardOverviewCommonResp>(`${BASE_URL}/analysis/overview/ip`)
2121
}
2222

23+
/** @desc 查询地域分析 */
24+
export function getAnalysisGeo() {
25+
return http.get<T.DashboardChartCommonResp[]>(`${BASE_URL}/analysis/geo`)
26+
}
27+
2328
/** @desc 查询访问趋势 */
2429
export function getDashboardAccessTrend(days: number) {
2530
return http.get<T.DashboardAccessTrendResp[]>(`${BASE_URL}/access/trend/${days}`)

0 commit comments

Comments
 (0)