This commit is contained in:
weiz 2024-03-04 09:39:30 +08:00
parent 6d4e22ac38
commit 035d551e6c

View File

@ -60,7 +60,7 @@ class SupervisionProblem extends BaseModel
return !empty($data['rectification_time']) ? date('Y-m-d H:i:s',$data['rectification_time']) : ''; return !empty($data['rectification_time']) ? date('Y-m-d H:i:s',$data['rectification_time']) : '';
} }
public function getRectificationAnnexAttr($value,$data): string public function getRectificationAnnexAttr($value,$data)
{ {
return !empty($data['rectification_annex']) ? json_decode($data['rectification_annex'],true) : ''; return !empty($data['rectification_annex']) ? json_decode($data['rectification_annex'],true) : '';
} }