From f610e6e7b7451efcbccefba881c5128973dcc94c Mon Sep 17 00:00:00 2001 From: fwq <582742538@qq.com> Date: 星期一, 11 十二月 2023 10:41:37 +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