Browse Source

后端代码提交

mashengyi 3 years ago
parent
commit
01681d56f0
1 changed files with 6 additions and 1 deletions
  1. 6 1
      src/main/java/com/jkcredit/invoice/credit/SimpleCORSFilter.java

+ 6 - 1
src/main/java/com/jkcredit/invoice/credit/SimpleCORSFilter.java

@@ -115,6 +115,11 @@ public class SimpleCORSFilter implements Filter {
             "/noCar/findCarRec",
             "/noCar/findBillWay",
             "/noCar/updateStatus",
+            "/noCar/findBatchList",
+            "/nocar/findNocarInvoicesStatic",
+            "/nocar/batchImprotBillWay",
+            "/nocar/batchImprotHistoryBillWay",
+            "/nocar/batchImprotEndBillWay",
             "/noCar/findBillWayException",
             "/noCar/findNocarInvoices",
             "/noCar/findNocarCalculateInfo",
@@ -192,7 +197,7 @@ public class SimpleCORSFilter implements Filter {
          */
 
         boolean flag = (!Arrays.asList(NO_TOKEN_API_PATHS).contains(httpRequest.getRequestURI()));
-        if(httpRequest.getRequestURI().contains("/user/")){
+        if(httpRequest.getRequestURI().contains("/user/") || "/".equals(httpRequest.getRequestURI()) || httpRequest.getRequestURI().contains("/static/")){
             flag = false;
         }
         if (flag) {