From a9e21702aaa024c0f7f2c0e35c8585cae9cde724 Mon Sep 17 00:00:00 2001
From: dawn9117 <silanglang@163.com>
Date: 星期五, 26 十一月 2021 13:55:32 +0800
Subject: [PATCH] 接口重复鉴权BUG修复: ResourceConfig中已经配置鉴权拦截器, 添加sa-token-spring-aop会导致重复鉴权BUG

---
 ruoyi-common/src/main/java/com/ruoyi/common/exception/user/CaptchaException.java |   30 ++++++++++++++----------------
 1 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/CaptchaException.java b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/CaptchaException.java
index e3334ae..9040485 100644
--- a/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/CaptchaException.java
+++ b/ruoyi-common/src/main/java/com/ruoyi/common/exception/user/CaptchaException.java
@@ -1,16 +1,14 @@
-package com.ruoyi.common.exception.user;
-
-/**
- * 楠岃瘉鐮侀敊璇紓甯哥被
- * 
- * @author ruoyi
- */
-public class CaptchaException extends UserException
-{
-    private static final long serialVersionUID = 1L;
-
-    public CaptchaException()
-    {
-        super("user.jcaptcha.error", null);
-    }
-}
+package com.ruoyi.common.exception.user;
+
+/**
+ * 楠岃瘉鐮侀敊璇紓甯哥被
+ *
+ * @author ruoyi
+ */
+public class CaptchaException extends UserException {
+    private static final long serialVersionUID = 1L;
+
+    public CaptchaException() {
+        super("user.jcaptcha.error", null);
+    }
+}

--
Gitblit v1.9.3