From 7a86d3b83f9154221f8bba17b159d56129d03264 Mon Sep 17 00:00:00 2001
From: chenjiahe <763432473@qq.com>
Date: 星期五, 14 七月 2023 15:01:48 +0800
Subject: [PATCH] 拦截器优化

---
 src/main/java/com/hx/exception/TipsException.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/main/java/com/hx/exception/TipsException.java b/src/main/java/com/hx/exception/TipsException.java
index 6bfdc44..b9a9b64 100644
--- a/src/main/java/com/hx/exception/TipsException.java
+++ b/src/main/java/com/hx/exception/TipsException.java
@@ -28,8 +28,11 @@
         this.code = code;
     }
 
-    //@Override
-    public int getCode() {
-        return this.code;
+    public Integer getCode() {
+        return code;
+    }
+
+    public void setCode(Integer code) {
+        this.code = code;
     }
 }

--
Gitblit v1.8.0