!29 修正附件管理编辑后保存提示uploadtime字段数据库截断错误

Merge pull request !29 from nyzcling/master
pull/580846/MERGE
nyzcling 2017-12-27 21:02:41 +08:00 committed by Karson
commit b72ddda452
1 changed files with 4 additions and 1 deletions

View File

@ -15,5 +15,8 @@ class Attachment extends Model
// 定义字段类型
protected $type = [
];
public function setUploadtimeAttr($value)
{
return strtotime($value);
}
}