From 1a45499366939f3c281cffefde191c4411bd7c94 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期四, 16 一月 2025 13:58:14 +0800 Subject: [PATCH] 加密 --- ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/exception/user/UserAppletException.java | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/exception/user/UserAppletException.java b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/exception/user/UserAppletException.java new file mode 100644 index 0000000..b8da2e9 --- /dev/null +++ b/ruoyi-common/ruoyi-common-core/src/main/java/com/ruoyi/common/core/exception/user/UserAppletException.java @@ -0,0 +1,48 @@ +package com.ruoyi.common.core.exception.user; + +/** + * 学生端登录异常信息 + * + * @author HJL + * @version 1.0 + * @since 2024-05-24 11:35 + */ +public class UserAppletException extends RuntimeException { + + private static final long serialVersionUID = 1L; + + /** + * 错误提示 + */ + private String message; + + /** + * 错误码 + */ + private int code; + + public UserAppletException() { + } + + public UserAppletException(String message, Integer code) { + this.message = message; + this.code = code; + } + + @Override + public String getMessage() { + return message; + } + + public void setMessage(String message) { + this.message = message; + } + + public int getCode() { + return code; + } + + public void setCode(int code) { + this.code = code; + } +} -- Gitblit v1.7.1