From bb6e29fa10cf7223b4395a706c8e851aa277ac42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Sun, 25 Apr 2021 15:59:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Database/Base/BaseActiveRecord.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Database/Base/BaseActiveRecord.php b/Database/Base/BaseActiveRecord.php index d80c18a0..27b5d51f 100644 --- a/Database/Base/BaseActiveRecord.php +++ b/Database/Base/BaseActiveRecord.php @@ -1012,7 +1012,7 @@ abstract class BaseActiveRecord extends Component implements IOrm, ArrayAccess $model->_oldAttributes = $data; $model->setIsCreate(false); - echo 'end create -> ' . (microtime(true) - $create); + echo 'end create -> ' . round(microtime(true) - $create, 6); return $model; }