Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides AI-Meeting auth and current-user handling: login tokens, @CurrentUser injection, admin checks, WebSocket auth, data isolation.
27% 95%+68 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 6 of 22 without it.
3 of 3 safety checks passed
Not used yet
references/object-dictionary.md,确认身份对象和服务对象的真相源。references/current-user.md,确认当前用户是如何注入控制器的。references/login-and-permission.md,确认登录接口和管理员判断语义。references/websocket-auth.md。references/data-isolation.md。admin/src/main/java/com/hewei/hzyjy/xunzhi/auth/infrastructure/web/CurrentUserArgumentResolver.javaadmin/src/main/java/com/hewei/hzyjy/xunzhi/auth/infrastructure/satoken/SaTokenCurrentUserService.javaadmin/src/main/java/com/hewei/hzyjy/xunzhi/auth/infrastructure/satoken/SaTokenLoginSessionService.javaadmin/src/main/java/com/hewei/hzyjy/xunzhi/auth/infrastructure/websocket/SaTokenWebSocketAuthService.javaadmin/src/main/java/com/hewei/hzyjy/xunzhi/auth/infrastructure/satoken/SaTokenPermissionService.javaadmin/src/main/java/com/hewei/hzyjy/xunzhi/user/api/UserController.javauserId 是归属校验主键,username 只是身份展示和登录标识。@CurrentUser 的支持类型是明确受限的,不能随意扩展调用姿势。userId 一致性。isAdmin 判断依赖权限服务,不能用前端传参替代。references/object-dictionary.mdreferences/current-user.mdreferences/login-and-permission.mdreferences/websocket-auth.mdreferences/data-isolation.mdNext to this one in the catalogue, plus more from the same author.