瀏覽代碼

fix: 修复拦截器判断

huangzqa 4 年之前
父節點
當前提交
c185babfd0

+ 1 - 1
src/main/java/com/dragonsoft/dcuc/approvegateway/filter/BimUserInfoPreFilter.java

@@ -68,7 +68,7 @@ public class BimUserInfoPreFilter extends ZuulFilter {
         String contextPath = serverProperties.getServlet().getContextPath();
         String requestUri = request.getRequestURI();
 
-        if (isNeedUserInfo(contextPath, requestUri)) {
+        if (!isNeedUserInfo(contextPath, requestUri)) {
             return null;
         }
 

+ 0 - 5
src/main/java/com/dragonsoft/dcuc/approvegateway/properties/DcucApproveProperties.java

@@ -32,11 +32,6 @@ public class DcucApproveProperties {
      */
     private String bimSecretKey;
 
-    /**
-     * 竹云 token 存储 key
-     */
-    private String bimTokenStoreKey = "bimTokenKey";
-
     /**
      * 竹云 token 失效时间(单位秒)
      */