首页消息

This commit is contained in:
2026-01-06 17:01:35 +08:00
parent 1b31780136
commit 26742060e6
17 changed files with 403 additions and 13 deletions

View File

@@ -157,7 +157,7 @@ public class HomeycomClientUserTokenController {
// 第2步构建用户信息对象
// 构建用户信息 , 这里只拼接了 UserTokenDTO 中的 username 和 authoritiesTODO 现在加载了用户所有数据,
UserDetails honeycomUser = honeycomUserDetailsService.loadUserByUsername(userInfo.getPhone());
UserDetails honeycomUser = honeycomUserDetailsService.loadUserByUsername(userInfo.getUsername());
// 第3步创建认证对象
Authentication usernamePasswordAuthentication =