exists($value)) { return true; } return false; } /** * Get the validation error message. * * @return string */ public function message() { return '文件不存在'; } }