mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
改进Model类
This commit is contained in:
@@ -112,7 +112,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (is_null($this->autoWriteTimestamp)) {
|
if (is_null($this->autoWriteTimestamp)) {
|
||||||
$this->autoWriteTimestamp = $this->getConfig('auto_timestamp');
|
$this->autoWriteTimestamp = $this->db()->getConfig('auto_timestamp');
|
||||||
}
|
}
|
||||||
|
|
||||||
// 执行初始化操作
|
// 执行初始化操作
|
||||||
|
|||||||
Reference in New Issue
Block a user