From 11909a2bb1d898f4824c03172fb040852830770f Mon Sep 17 00:00:00 2001
From: zhangchao <zc857179121@qq.com>
Date: 星期五, 08 十一月 2024 16:21:27 +0800
Subject: [PATCH] 去除前端提交的参数带空格

---
 src/main/java/com/zy/common/config/AspectConfig.java |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/zy/common/config/AspectConfig.java b/src/main/java/com/zy/common/config/AspectConfig.java
index d7a2e4f..780eb46 100644
--- a/src/main/java/com/zy/common/config/AspectConfig.java
+++ b/src/main/java/com/zy/common/config/AspectConfig.java
@@ -49,9 +49,9 @@
             "||@within(org.springframework.stereotype.Controller)")
     public Object after(ProceedingJoinPoint joinPoint) throws Throwable{
         ServletRequestAttributes requestAttributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
-        if(requestAttributes != null){
-            return joinPoint.proceed();
-        }
+        //if(requestAttributes != null){
+        //    return joinPoint.proceed();
+        //}
         HttpServletRequest request = requestAttributes.getRequest();
         long start = System.currentTimeMillis();
         Object result = joinPoint.proceed(joinPoint.getArgs());

--
Gitblit v1.9.1