@Override
    public UserDetails loadUserByUserId(String openId) {
        SysUser sysUser = userService.findByOpenId(openId);
        checkUser(sysUser);
        return LoginUserUtils.getLoginAppUser(sysUser);
    }
@author zlt
<p>
Blog: http://zlt2000.gitee.io
Github: https://github.com/zlt2000
zlt-uaa/src/main/java/com/central/oauth/service/impl/UserDetailServiceImpl.java