From 53c90cfc99c30654fe857262100720d2ef719a08 Mon Sep 17 00:00:00 2001
From: xlt <xialuotang@xialuotang.com>
Date: 星期日, 27 三月 2022 21:57:44 +0800
Subject: [PATCH] update 在全局异常处理器中引入DuplicateKeyException的主键冲突异常,来处理解决主键或UNIQUE索引的数据重复异常。

---
 ruoyi-common/src/main/java/com/ruoyi/common/filter/XssFilter.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssFilter.java b/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssFilter.java
index f397de1..72a8f27 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssFilter.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/filter/XssFilter.java
@@ -33,7 +33,7 @@
 
     @Override
     public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
-            throws IOException, ServletException {
+        throws IOException, ServletException {
         HttpServletRequest req = (HttpServletRequest) request;
         HttpServletResponse resp = (HttpServletResponse) response;
         if (handleExcludeURL(req, resp)) {

--
Gitblit v1.9.3