update
This commit is contained in:
parent
f7b6abf916
commit
d48a17991d
@ -34,4 +34,8 @@ class SafetyModify extends BaseModel
|
|||||||
{
|
{
|
||||||
return !empty($value) ? date('Y-m-d',$value) : '';
|
return !empty($value) ? date('Y-m-d',$value) : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function getFileAttr($value){
|
||||||
|
return !empty($value) ? json_decode($value,true) : '';
|
||||||
|
}
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user