소스 검색

sa-token 校验

chejianzheng 3 달 전
부모
커밋
3cc9d3936f
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      src/main/resources/application.yml

+ 5 - 1
src/main/resources/application.yml

@@ -2,7 +2,7 @@ server:
   port: 8090
 spring:
   profiles:
-    active: test
+    active: local
   application:
     name: hfln-interior-gateway
   cloud:
@@ -16,6 +16,8 @@ spring:
           uri: lb://portal-service-server
           predicates:
             - Path=/portal-service-server/**
+          filters:
+            - StripPrefix=1
 
 
 lnxx:
@@ -49,6 +51,8 @@ sa-token:
       - /api-docs/**
       - /api/doc.html
       - /knife4j/**
+      - /*/appspecific/**
+      - /favicon.ico/**
     loginUrls:
       - /portal-service-server/admin/manage/login
       - /portal-service-server/wap/user/wx/loginByPhone