优化:优化部分校验类型(业务验证迁移到 Service 层,使用 CheckUtils 来验证)

This commit is contained in:
2023-01-25 23:07:25 +08:00
parent 693e825144
commit dab3e597c2
17 changed files with 50 additions and 66 deletions

View File

@@ -23,7 +23,7 @@ import lombok.extern.slf4j.Slf4j;
import top.charles7c.cnadmin.common.exception.ServiceException;
/**
* 业务检查工具类(抛出 500 ServiceException
* 业务参数校验工具类(抛出 500 ServiceException
*
* @author Charles7c
* @see ServiceException

View File

@@ -23,7 +23,7 @@ import lombok.extern.slf4j.Slf4j;
import top.charles7c.cnadmin.common.exception.BadRequestException;
/**
* 校验工具类(抛出 400 BadRequestException
* 基本参数校验工具类(抛出 400 BadRequestException
*
* @author Charles7c
* @since 2022/12/21 20:56