Validation overview


The verification module is a server-side parameter validity verification tool. It uses annotation declaration to configure verification rules, which is simpler, more intuitive, and more friendly. It supports verification of method parameters and class member attributes, and supports internationalization of verification results I18N resources. Binding, supports custom validators, supports multiple verification modes;

Maven package dependency

<dependency>
    <groupId>net.ymate.platform</groupId>
    <artifactId>ymate-platform-validation</artifactId>
    <version>2.0-SNAPSHOT</version>
</dependency>

Note: Add the above configuration in the project's pom.xml. This module has introduced core package dependencies by default, so there is no need to repeat the configuration.