修复写入日期格式问题
This commit is contained in:
parent
85fbaabe2c
commit
c1a6636836
|
@ -18,7 +18,9 @@ class General extends Model
|
||||||
// 开启自动写入时间戳字段
|
// 开启自动写入时间戳字段
|
||||||
protected $autoWriteTimestamp = 'int';
|
protected $autoWriteTimestamp = 'int';
|
||||||
// 定义时间戳字段名
|
// 定义时间戳字段名
|
||||||
protected $updateTime = 'updatetime';
|
protected $createTime = false;
|
||||||
|
protected $updateTime = false;
|
||||||
|
protected $deleteTime = false;
|
||||||
|
|
||||||
// 追加属性
|
// 追加属性
|
||||||
protected $append = [
|
protected $append = [
|
||||||
|
|
Loading…
Reference in New Issue