From dafca59498baeedc98021e5a67355937d0ff88a2 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Wed, 2 Nov 2016 19:30:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Model.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/think/Model.php b/library/think/Model.php index 9dedf482..ff6c1142 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -101,7 +101,8 @@ abstract class Model implements \JsonSerializable, \ArrayAccess protected $failException = false; // 全局查询范围 protected $useGlobalScope = true; - protected $batchValidate = false; + // 是否采用批量验证 + protected $batchValidate = false; /** * 初始化过的模型.