mirror of
https://gitcode.com/ageerle/ruoyi-ai.git
synced 2026-03-15 13:43:41 +08:00
fix: 修复未登录无法使用联网插件
This commit is contained in:
@@ -106,7 +106,7 @@ public class KnowledgeController extends BaseController {
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo<KnowledgeInfoVo> list(KnowledgeInfoBo bo, PageQuery pageQuery) {
|
||||
if(!StpUtil.isLogin()){
|
||||
throw new SecurityException("请先去登录!");
|
||||
return null;
|
||||
}
|
||||
bo.setUid(LoginHelper.getUserId());
|
||||
return knowledgeInfoService.queryPageList(bo, pageQuery);
|
||||
|
||||
Reference in New Issue
Block a user