From d4e1d4ec3858c4cb4d677e183fea22ec23ea89bf Mon Sep 17 00:00:00 2001
From: 疯狂的狮子Li <15040126243@163.com>
Date: 星期日, 28 十一月 2021 21:22:26 +0800
Subject: [PATCH] !117 fix: 修复Object剩余存活时间BUG Merge pull request !117 from dawn9117/N/A

---
 ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java b/ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java
index a8bfb3f..ecf888d 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/utils/SecurityUtils.java
@@ -2,7 +2,7 @@
 
 import cn.hutool.http.HttpStatus;
 import com.ruoyi.common.core.domain.entity.SysUser;
-import com.ruoyi.common.core.service.IUserService;
+import com.ruoyi.common.core.service.UserService;
 import com.ruoyi.common.exception.ServiceException;
 import com.ruoyi.common.utils.spring.SpringUtils;
 import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
@@ -47,7 +47,7 @@
      **/
     public static SysUser getUser() {
         try {
-            return SpringUtils.getBean(IUserService.class).selectUserById(getUserId());
+            return SpringUtils.getBean(UserService.class).selectUserById(getUserId());
         } catch (Exception e) {
             throw new ServiceException("鑾峰彇鐢ㄦ埛淇℃伅寮傚父", HttpStatus.HTTP_UNAUTHORIZED);
         }

--
Gitblit v1.9.3