类 UserServiceImpl

java.lang.Object
io.github.lishangbu.orange.authorization.service.impl.UserServiceImpl
所有已实现的接口:
UserService

@Service public class UserServiceImpl extends Object implements UserService
用户服务实现
从以下版本开始:
2025/8/30
作者:
lishangbu
  • 构造器详细资料

    • UserServiceImpl

      public UserServiceImpl()
  • 方法详细资料

    • getUserByUsername

      public Optional<UserWithRoles> getUserByUsername(String username)
      根据用户名查询用户详情,包含基本信息、角色信息及个人资料
      指定者:
      getUserByUsername 在接口中 UserService
      参数:
      username - 用户名
      返回:
      查询到的用户详情,未找到时返回Optional.empty()