Browse Source

fix: 修改14450

liaoyitao 5 months ago
parent
commit
05ba59e1c2

+ 1 - 0
.gitignore

@@ -35,3 +35,4 @@ build/
35 35
 /log/*.log
36 36
 log
37 37
 log/
38
+/upload/

+ 0 - 3
src/main/java/com/lqkj/link/module/jwt/controller/JwtController.java

@@ -59,9 +59,6 @@ public class JwtController {
59 59
         if (userInfo == null) {
60 60
             return MessageBean.error("账号不存在!");
61 61
         }
62
-        if (!userInfo.getHasManage()){
63
-            return MessageBean.error("账号无权限,请联系管理员!");
64
-        }
65 62
         if (userDetailService.isLocked(userInfo.getUserCode())) {//账号是否被冻结
66 63
             return MessageBean.error("账号已被冻结,请稍后重试!");
67 64
         }