瀏覽代碼

删除swagger注解

syh 4 年之前
父節點
當前提交
448d801762

+ 0 - 5
src/main/java/cn/com/ctop/okr/shiro/authc/ShiroRealm.java

@@ -1,9 +1,7 @@
 package cn.com.ctop.okr.shiro.authc;
 
 import cn.com.ctop.okr.constant.CommonConstant;
-import cn.com.ctop.okr.entity.CorpUserInfo;
 import cn.com.ctop.okr.entity.QYWxUserInfo;
-import cn.com.ctop.okr.mapper.CorpUserInfoMapper;
 import cn.com.ctop.okr.mapper.QYWxUserInfoMapper;
 import cn.com.ctop.okr.utils.Check;
 import cn.com.ctop.okr.utils.JwtUtil;
@@ -38,9 +36,6 @@ public class ShiroRealm extends AuthorizingRealm {
     private QYWxUserInfoMapper wxUserInfoMapper;
     @Autowired
     @Lazy
-    private CorpUserInfoMapper corpUserInfoMapper;
-    @Autowired
-    @Lazy
     private RedisUtil redisUtil;
 
     /**

+ 2 - 1
src/main/java/cn/com/ctop/okr/utils/JwtUtil.java

@@ -20,7 +20,8 @@ public class JwtUtil {
     /**
      * 过期时间30分钟
      */
-    public static final long EXPIRE_TIME = 2 * 24 * 60 * 60 * 1000;
+//    public static final long EXPIRE_TIME = 2 * 24 * 60 * 60 * 1000;
+    public static final long EXPIRE_TIME = 1 * 60 * 1000;
     //public static final long EXPIRE_TIME = 10 * 1000;