refactor: ♻️ 控制台精简重构(访问统计调整和添加项目相关信息)
This commit is contained in:
@@ -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",
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user