note() note(mixed $type, mixed $class, mixed $mold) : mixed Parameters mixed $type mixed $class mixed $mold Returns mixed —
validate() validate(array $data, string|array $validate, array $message = [], bool $batch = false) : array|string|true 验证数据 Parameters array $data 数据 string|array $validate 验证器名或者验证规则数组 array $message 提示信息 bool $batch 是否批量验证 Throws \think\exception\ValidateException Returns array|string|true —