From 0a4aee700a60c4b28248f3d1a7f4f91376b68492 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期一, 01 八月 2022 14:46:47 +0800
Subject: [PATCH] Merge branch 'haucheng_panzhihua' into shuangzheng2

---
 springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java
index b9c634f..836586e 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java
@@ -101,6 +101,7 @@
         // boolean infodynamic = !requestURI.contains("partybuilding/infodynamic");
 
         SafeboxRequestWrapper safeboxRequestWrapper = new SafeboxRequestWrapper(request);
+        safeboxRequestWrapper.addHeader("appid",request.getHeader("appid"));
         if (login || doc || css || js || ui || swagger || ico || docs || error || refreshToken || useragreement || wxPay
         // ||wxCgi||isShop||listadvertisement||noToken||bigscreen) {
             || wxCgi || isShop || listadvertisement || noToken||uuRepay||kaphtcha||uuPush) {
@@ -305,6 +306,15 @@
                 noLoginUrl.add("/api/applets/fms/event/detail");
                 noLoginUrl.add("/api/applets/fms/service/page");
                 noLoginUrl.add("/api/applets/fms/service/detail");
+                noLoginUrl.add("/api/applets/comActSocialOrgHatchAudit/process");
+                noLoginUrl.add("/api/applets/comActSocialProject/queryAll");
+                noLoginUrl.add("/api/applets/comActSocialProjectPublicity/queryAll");
+                noLoginUrl.add("/api/applets/comActSocialOrg/queryAll");
+                noLoginUrl.add("/api/applets/comactsocialworker");
+                noLoginUrl.add("/api/applets/enterprise/detail");
+                noLoginUrl.add("/api/applets/enterprise/page");
+                noLoginUrl.add("/api/applets/dpc/detail");
+                noLoginUrl.add("/api/applets/dpc/page");
                 if (noLoginUrl.contains(requestURI)) {
                     List<SimpleGrantedAuthority> authorities = new ArrayList<>();
                     authorities.add(new SimpleGrantedAuthority(SecurityConstants.ROLE_APPLETS));

--
Gitblit v1.7.1