143 Star 281 Fork 133

Coody / coody-verification

Create your Gitee Account
Explore and code with more than 8 million developers,Free private repositories !:)
Sign up
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
contribute
Sync branch
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

coody-verification

项目介绍

一款参数自动化校验工具

软件架构

没啥架构,原生java代码。基于反射+注解实现

使用说明

  1. 所有实体类需继承BaseModel
  2. 在需要校验的字段上面标记ParamCheck注解
  3. 使用ParamVerficationProcess.checkPara(BaseModel);
  4. 抛出异常即为参数校验失败

ParamCheck注解如图所示

输入图片说明

背景说明

本项目为Coody编写,以往在项目中嵌入使用,于2018-05-30日提取出来。

功能说明

本项目支持常规参数校验、参数格式、参数可空、参数同时校验空值、层级对象校验。

使用截图:

输入图片说明 输入图片说明 输入图片说明

反馈邮箱:644556636@qq.com

About

反射+注解实现自动化参数校验 expand collapse
Java
Cancel

Releases

No release

coody-verification

Contributors

All

Activities

Load More
can not load any more
Java
1
https://gitee.com/coodyer/coody-verification.git
git@gitee.com:coodyer/coody-verification.git
coodyer
coody-verification
coody-verification
master

Search

E71a60c3 8189591 Df7b7c6b 8189591