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 @@