diff --git a/src/component/Administrator/globalAwardPopularity.vue b/src/component/Administrator/globalAwardPopularity.vue new file mode 100644 index 00000000..c9de5660 --- /dev/null +++ b/src/component/Administrator/globalAwardPopularity.vue @@ -0,0 +1,99 @@ + + + + + + Current Time: + {{ currentTimeStr }} + + + Raw Visi Count: + {{ rawVisitCount }} + + + Unique Visit Count: + {{ uniqueVisitCount }} + + + + + + + + + + + + + + diff --git a/src/router/index.ts b/src/router/index.ts index 9a470ca9..54f373cc 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -337,6 +337,13 @@ const routes: Array = [ meta: { enter: 3 }, component: () => import("@/component/Administrator/SE/getGenerateFrequency/index.vue"), + }, + { + path: "globalAwardPopularity", + name: "globalAwardPopularity", + meta: { enter: 3 }, + component: () => + import("@/component/Administrator/globalAwardPopularity.vue"), }, ], }, diff --git a/src/tool/adminRouter.js b/src/tool/adminRouter.js index ce48181c..9af71ea7 100644 --- a/src/tool/adminRouter.js +++ b/src/tool/adminRouter.js @@ -198,6 +198,13 @@ const all = (t)=>{ route: '/administrator/subscriptionPlan', key: 'sub14', isShow: true + }, + { + name: 'Global Award Popularity', + icon: 'usetime', + route: '/administrator/globalAwardPopularity', + key: 'sub15', + isShow: true } ] } diff --git a/src/tool/https.js b/src/tool/https.js index ce1f5b79..035bf004 100644 --- a/src/tool/https.js +++ b/src/tool/https.js @@ -346,6 +346,7 @@ export const Https = { switchSubscribePlan: '/api/subscription_plan/switchSubscriptionPlan', // 切换管理员订阅计划 switchSubAccountSubscribePlan: '/api/subscription_plan/switchSubAccSubscriptionPlan', // 切换子账号订阅计划 + getGlobalAwardPopularity: '/api/global-award/page/visit/count', // 获取global award流量 //云生成 designCloud: `/api/design/designCloud`, //创建云生成