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
864a7968
Commit
864a7968
authored
Feb 16, 2023
by
shenjunjie
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'master'
Release See merge request
!210
parents
cf71bacf
67825c3b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
src/main/java/com/zhiwei/brandkbs2/Brandkbs2Application.java
+1
-1
src/main/java/com/zhiwei/brandkbs2/pojo/UserRole.java
+5
-0
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectWarnServiceImpl.java
+1
-1
No files found.
src/main/java/com/zhiwei/brandkbs2/Brandkbs2Application.java
View file @
864a7968
...
...
@@ -26,7 +26,7 @@ public class Brandkbs2Application {
public
static
void
main
(
String
[]
args
)
{
SpringApplication
.
run
(
Brandkbs2Application
.
class
,
args
);
logger
.
info
(
"Brandkbs启动完成....2023/2/15"
);
logger
.
error
(
"Brandkbs启动完成....2023/2/15"
);
}
}
src/main/java/com/zhiwei/brandkbs2/pojo/UserRole.java
View file @
864a7968
...
...
@@ -56,6 +56,11 @@ public class UserRole {
*/
private
Integer
exportAmount
;
public
void
setRoleId
(
Integer
roleId
)
{
this
.
roleId
=
roleId
;
this
.
key
=
Tools
.
concat
(
projectId
,
roleId
);
}
public
UserRole
(
String
projectId
,
int
roleId
,
Long
expiredTime
,
Integer
exportAmount
)
{
this
.
projectId
=
projectId
;
this
.
roleId
=
roleId
;
...
...
src/main/java/com/zhiwei/brandkbs2/service/impl/ProjectWarnServiceImpl.java
View file @
864a7968
...
...
@@ -94,7 +94,7 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
TYPE_SEARCH
.
put
(
"抖音热搜"
,
"douyin"
);
TYPE_SEARCH
.
put
(
"知乎热搜"
,
"zhihu"
);
TYPE_SEARCH
.
put
(
"B站热搜"
,
"bilibili-ranking"
);
TYPE_SEARCH
.
put
(
"快手热
搜
"
,
"kuaishou"
);
TYPE_SEARCH
.
put
(
"快手热
榜
"
,
"kuaishou"
);
}
@Override
...
...
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