Commit 67825c3b by shenjunjie

Merge branch 'feature' into 'release'

调整User权限展示异常问题

See merge request !209
parents f75d2e3e ebe46919
...@@ -26,7 +26,7 @@ public class Brandkbs2Application { ...@@ -26,7 +26,7 @@ public class Brandkbs2Application {
public static void main(String[] args) { public static void main(String[] args) {
SpringApplication.run(Brandkbs2Application.class, args); SpringApplication.run(Brandkbs2Application.class, args);
logger.info("Brandkbs启动完成....2023/2/15"); logger.error("Brandkbs启动完成....2023/2/15");
} }
} }
...@@ -56,6 +56,11 @@ public class UserRole { ...@@ -56,6 +56,11 @@ public class UserRole {
*/ */
private Integer exportAmount; 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) { public UserRole(String projectId, int roleId, Long expiredTime, Integer exportAmount) {
this.projectId = projectId; this.projectId = projectId;
this.roleId = roleId; this.roleId = roleId;
......
...@@ -94,7 +94,7 @@ public class ProjectWarnServiceImpl implements ProjectWarnService { ...@@ -94,7 +94,7 @@ public class ProjectWarnServiceImpl implements ProjectWarnService {
TYPE_SEARCH.put("抖音热搜", "douyin"); TYPE_SEARCH.put("抖音热搜", "douyin");
TYPE_SEARCH.put("知乎热搜", "zhihu"); TYPE_SEARCH.put("知乎热搜", "zhihu");
TYPE_SEARCH.put("B站热搜", "bilibili-ranking"); TYPE_SEARCH.put("B站热搜", "bilibili-ranking");
TYPE_SEARCH.put("快手热", "kuaishou"); TYPE_SEARCH.put("快手热", "kuaishou");
} }
@Override @Override
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment