refactor: ♻️ 控制台精简重构(访问统计调整和添加项目相关信息)

This commit is contained in:
Ray.Hao
2024-12-08 18:57:52 +08:00
parent e3e0bec22e
commit a7c1c4e14a
20 changed files with 287 additions and 283 deletions

View File

@@ -193,32 +193,14 @@ export default defineMock([
method: ["GET"],
body: {
code: "00000",
data: [
{
type: "pv",
title: "浏览量",
todayCount: 1003,
totalCount: 36193,
growthRate: -0.35,
granularityLabel: "日",
},
{
type: "uv",
title: "访客数",
todayCount: 100,
totalCount: 2000,
growthRate: 0,
granularityLabel: "日",
},
{
type: "ip",
title: "IP数",
todayCount: 152,
totalCount: 3234,
growthRate: -0.2,
granularityLabel: "日",
},
],
data: {
todayPvCount: 1629,
totalPvCount: 286086,
pvGrowthRate: -0.65,
todayIpCount: 169,
totalIpCount: 19985,
ipGrowthRate: -0.57,
},
msg: "一切ok",
},
},