增加后台管理模块
This commit is contained in:
@@ -3,7 +3,7 @@ package com.emotion.exception;
|
||||
/**
|
||||
* 认证异常类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @date 2025-07-23
|
||||
*/
|
||||
public class AuthException extends BusinessException {
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.emotion.exception;
|
||||
/**
|
||||
* 业务异常
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @date 2025-07-23
|
||||
*/
|
||||
public class BusinessException extends RuntimeException {
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.emotion.exception;
|
||||
/**
|
||||
* 验证码异常类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @date 2025-07-23
|
||||
*/
|
||||
public class CaptchaException extends BusinessException {
|
||||
|
||||
@@ -19,7 +19,7 @@ import java.util.Set;
|
||||
/**
|
||||
* 全局异常处理器
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @date 2025-07-23
|
||||
*/
|
||||
@RestControllerAdvice
|
||||
|
||||
@@ -3,7 +3,7 @@ package com.emotion.exception;
|
||||
/**
|
||||
* 令牌异常类
|
||||
*
|
||||
* @author emotion-museum
|
||||
* @author huazhongmin
|
||||
* @date 2025-07-23
|
||||
*/
|
||||
public class TokenException extends AuthException {
|
||||
|
||||
Reference in New Issue
Block a user