智慧保安后台管理-外网项目备份
guoshilong
2024-01-04 b431c00a3e736e27599cd34793c65369fdb7b8cd
src/main/java/org/springblade/modules/auth/granter/PasswordTokenGranter.java
@@ -63,6 +63,9 @@
            userInfo = userService.userInfo(tenantId, username, DigestUtil.hex(password), UserEnum.WEB);
         } else if (userType.equals(UserEnum.APP.getName())) {
            userInfo = userService.userInfo(tenantId, username, DigestUtil.hex(password), UserEnum.APP);
         }else if (userType.equals(UserEnum.WX.getName())){
            // 微信小程序登录
            userInfo = userService.wxUserInfo(tenantId,username, DigestUtil.hex(password), UserEnum.WEB);
         } else {
            userInfo = userService.userInfo(tenantId, username, DigestUtil.hex(password), UserEnum.OTHER);
         }