liyinglin 3 years ago
parent 4e91817e14
commit 30b6319823

@ -7,6 +7,10 @@ class Blacklist extends SoftDeletesModel
protected $appends = ['file_detail'];
protected $casts = [
'file'=>'array'
];
public function getFileDetailAttribute()
{
if (empty($this->file)) {

Loading…
Cancel
Save