From e27b43dc67f38be1321576e01f3cc78e3610bb27 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Wed, 13 May 2026 17:29:05 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AE=A1=E7=90=86=E5=91=98=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0globalAward=E6=B5=81=E9=87=8F=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Administrator/globalAwardPopularity.vue | 99 +++++++++++++++++++ src/router/index.ts | 7 ++ src/tool/adminRouter.js | 7 ++ src/tool/https.js | 1 + 4 files changed, 114 insertions(+) create mode 100644 src/component/Administrator/globalAwardPopularity.vue 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 @@ + + + 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`, //创建云生成