This commit is contained in:
weiz 2023-12-29 11:55:56 +08:00
parent 7b0eed2115
commit 2fdfedc8a8

View File

@ -54,4 +54,9 @@ class ProjectFollowUp extends BaseModel
$dictData = DictData::where('type_value','follow_stage')->column('name','value');
return $dictData[$data['follow_stage']];
}
public function getFileAttr($value)
{
return !empty($value) ? json_decode($value) : null;
}
}