@midwayjs/validateClassesValidateService版本:Next本页总览ValidateService Index ConstructorsconstructorMethodsgetSchemavalidatevalidateWithSchemaConstructors constructornew ValidateService(): ValidateServiceMethods publicgetSchemagetSchema<T>(ClzType: T): ObjectSchema<any>Type parametersT: new (...args: any[]) => anypublicvalidatevalidate<T>(ClzType: T, value: any, options?: { errorStatus?: number; locale?: string; validationOptions?: ValidationOptions }): ValidationResult<T>Type parametersT: new (...args: any[]) => anypublicvalidateWithSchemavalidateWithSchema<T>(schema: AnySchema<T>, value: any, options?: { errorStatus?: number; locale?: string; validationOptions?: ValidationOptions }): ValidationResult<T>Type parametersT