Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
brandkbs2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
shenjunjie
brandkbs2
Commits
705b54ec
Commit
705b54ec
authored
Aug 19, 2024
by
陈健智
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
舆情预警微博话题榜下线
parent
7b27f4cc
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectWarnServiceImpl.java
+3
-2
No files found.
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectWarnServiceImpl.java
View file @
705b54ec
...
@@ -89,7 +89,7 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
...
@@ -89,7 +89,7 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
static
{
static
{
TYPE_SEARCH
.
put
(
"微博热搜"
,
"weibo"
);
TYPE_SEARCH
.
put
(
"微博热搜"
,
"weibo"
);
TYPE_SEARCH
.
put
(
"微博话题"
,
"weibo-topic"
);
//
TYPE_SEARCH.put("微博话题", "weibo-topic");
TYPE_SEARCH
.
put
(
"微博预热"
,
"weibo-rise"
);
TYPE_SEARCH
.
put
(
"微博预热"
,
"weibo-rise"
);
TYPE_SEARCH
.
put
(
"头条热搜"
,
"toutiao"
);
TYPE_SEARCH
.
put
(
"头条热搜"
,
"toutiao"
);
TYPE_SEARCH
.
put
(
"抖音热搜"
,
"douyin"
);
TYPE_SEARCH
.
put
(
"抖音热搜"
,
"douyin"
);
...
@@ -385,7 +385,8 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
...
@@ -385,7 +385,8 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
// key2
// key2
String
key2
=
""
;
String
key2
=
""
;
List
<
String
>
key2Element
=
new
ArrayList
<>();
List
<
String
>
key2Element
=
new
ArrayList
<>();
config
.
getListType
().
forEach
(
type
->
{
// 2024/8/19 微博话题榜采集下线,防止微博话题配置历史数据影响
config
.
getListType
().
stream
().
filter
(
type
->
!
Objects
.
equals
(
"微博话题"
,
type
)).
collect
(
Collectors
.
toList
()).
forEach
(
type
->
{
if
(
config
.
getFirstTop
())
{
if
(
config
.
getFirstTop
())
{
key2Element
.
add
(
type
+
"榜-首次上榜"
);
key2Element
.
add
(
type
+
"榜-首次上榜"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment