Validation


The WebMVC module has integrated the verification module. The controller method can directly use the verification annotation to complete the validity verification of parameters. For details, please refer to the Validation module document;

Description:

  • The parameter verification rules of the controller are all configured through verification annotations and executed in order. The WebMVC framework automatically calls to complete the verification process without manual intervention;
  • The parameter verification process will be executed after the interceptor configured by the controller is executed, which means that the request parameter value obtained in the interceptor has not been verified;