升级Thinkphp到5127版本

This commit is contained in:
cxdbz committed 2019-06-06 19:31:46 +08:00
1 parent 22a8f915e3
commit 9b8bd06b33
24 files changed
+504 -185

No files matched your search

+1 -1
View File
@@ -571,7 +571,7 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
$this->autoRelationUpdate();
}
return false;
return true;
} elseif ($this->autoWriteTimestamp && $this->updateTime && !isset($data[$this->updateTime])) {
// 自动写入更新时间
$data[$this->updateTime] = $this->autoWriteTimestamp($this->updateTime);