From f053f1a3bf6b4405dac2679fc61b4065163ba49f Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期三, 29 六月 2022 14:57:12 +0800
Subject: [PATCH] 验证码功能提交

---
 springcloud_k8s_panzhihuazhihuishequ/zuul/src/main/java/com/panzhihua/zuul/filters/JWTAuthenticationTokenFilter.java |    3 ++-
 1 files changed, 2 insertions(+), 1 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 7137776..bce0870 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
@@ -87,6 +87,7 @@
         boolean refreshToken = requestURI.contains("refreshToken");
         boolean logout = requestURI.contains("logout");
         boolean wxPay = requestURI.contains("wxNotify");
+        boolean kaphtcha = requestURI.contains("kaphtcha");
         boolean uuRepay = requestURI.contains("uuRepay");
         boolean wxCgi = requestURI.contains("cgi");
         boolean isShop = requestURI.contains("isShop");
@@ -101,7 +102,7 @@
         SafeboxRequestWrapper safeboxRequestWrapper = new SafeboxRequestWrapper(request);
         if (login || doc || css || js || ui || swagger || ico || docs || error || refreshToken || useragreement || wxPay
         // ||wxCgi||isShop||listadvertisement||noToken||bigscreen) {
-            || wxCgi || isShop || listadvertisement || noToken||uuRepay) {
+            || wxCgi || isShop || listadvertisement || noToken||uuRepay||kaphtcha) {
             // 什么也不做
         } else {
             // 获取请求头中JWT的Token

--
Gitblit v1.7.1