From b21592025fcf133347a80899b74dc3506513da73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E5=85=89=E5=AD=9F?= Date: Thu, 12 Feb 2026 13:46:26 +0800 Subject: [PATCH] =?UTF-8?q?feat(api):=20=E6=B7=BB=E5=8A=A0=E7=83=AD?= =?UTF-8?q?=E9=97=A8=E8=A1=8C=E4=B8=9A=E5=92=8C=E6=A6=82=E5=BF=B5=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E7=9A=84=E8=8E=B7=E5=8F=96=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index.ts | 10 ++++++++++ .../realtimeInfo/components/ConceptNewsView/index.vue | 6 +++--- .../realtimeInfo/components/IndustryNewsView/index.vue | 6 +++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/api/index.ts b/src/api/index.ts index 8151a16..b6456f0 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -124,4 +124,14 @@ export const updateMyIndustries = (data: any) => { // 配置我关注的风口 export const updateMyTags = (data: any) => { return Request.post("/user/tags", data); +}; + +// 热门行业 +export const getHotByTagIndustry = (data: any) => { + return Request.get(`/news/hot/industry?name=${data.name}`); +}; + +// 概念标签 +export const getHotByTag = (data: any) => { + return Request.get(`/news/hot/tag?name=${data.name}`); }; \ No newline at end of file diff --git a/src/pages/realtimeInfo/components/ConceptNewsView/index.vue b/src/pages/realtimeInfo/components/ConceptNewsView/index.vue index 12ec6ad..f46125c 100644 --- a/src/pages/realtimeInfo/components/ConceptNewsView/index.vue +++ b/src/pages/realtimeInfo/components/ConceptNewsView/index.vue @@ -25,7 +25,7 @@