mirror of https://gitee.com/karson/fastadmin.git
更新 Attachment.php
parent
483b901cc4
commit
6f2f4fb89d
|
|
@ -15,5 +15,8 @@ class Attachment extends Model
|
|||
// 定义字段类型
|
||||
protected $type = [
|
||||
];
|
||||
|
||||
public function setUploadtimeAttr($value)
|
||||
{
|
||||
return strtotime($value);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue