fix(auth): 调整放行路径并补充租户筛选条件
This commit is contained in:
@@ -50,7 +50,8 @@ public class SaTokenConfigure implements WebMvcConfigurer {
|
||||
"/user/bigbrother-doLogin",
|
||||
"/user/aiChat-doLogin",
|
||||
"/user/aiChat-logout",
|
||||
"/user/webAi-doLogin",
|
||||
"/user/webAi-doLogin",
|
||||
"/common/notice",
|
||||
"/error",
|
||||
};
|
||||
}
|
||||
|
||||
@@ -18,7 +18,8 @@ public class SystemNoticeServiceImpl extends ServiceImpl<SystemNoticeMapper, Sys
|
||||
@Override
|
||||
public List<SystemNotice> getActiveNoticeList() {
|
||||
LambdaQueryWrapper<SystemNotice> queryWrapper = new LambdaQueryWrapper<>();
|
||||
queryWrapper.eq(SystemNotice::getStatus, 0);
|
||||
queryWrapper.eq(SystemNotice::getStatus, 0)
|
||||
.eq(SystemNotice::getTenantId, 1);
|
||||
return this.list(queryWrapper);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user