1.添加AI聊天工具登录接口

2.删除 xmlsql 无用判断
3.修改 dev配置文件开启 swagger
This commit is contained in:
2025-07-03 15:25:33 +08:00
parent 55e9f3d538
commit 4f7e0e4576
8 changed files with 69 additions and 21 deletions

View File

@@ -76,5 +76,11 @@ public class SystemUsersServiceImpl extends ServiceImpl<SystemUsersMapper,System
return systemUsers.getBigBrother() == 1;
}
@Override
public boolean checkAiCHatLoginRole(Long userId) {
SystemUsers systemUsers = baseMapper.selectById(userId);
return systemUsers.getAiChat() == 1;
}
}