mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正
This commit is contained in:
@@ -327,10 +327,11 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
|
||||
/**
|
||||
* 是否需要自动写入时间字段
|
||||
* @access public
|
||||
* @param bool $auto
|
||||
* @param bool $auto
|
||||
* @return $this
|
||||
*/
|
||||
public function autoWriteTimestamp($auto){
|
||||
public function isAutoWriteTimestamp($auto)
|
||||
{
|
||||
$this->autoWriteTimestamp = $auto;
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user