validate 用 image 驗證是否為圖片文件,一直驗證失敗 “ not a valid image” ;
// validate 的 image public function image($file, $rule): bool { //第一步就過不了了,不instanceof think\File if (!($file instanceof File)) { return false; } }
不支持圖片驗證