$id = \request('article');
if($id){$res = Article::find($id);
if($res->photo != ''){
$handle= @fopen('http://static.abc.com/'.$res->photo,'r');
if (!$handle) {
$res->photo = null;
$res->save();
}
}
}