This commit is contained in:
thinkphp
2016-11-02 19:30:36 +08:00
parent f0eafc1ea8
commit dafca59498

View File

@@ -101,7 +101,8 @@ abstract class Model implements \JsonSerializable, \ArrayAccess
protected $failException = false; protected $failException = false;
// 全局查询范围 // 全局查询范围
protected $useGlobalScope = true; protected $useGlobalScope = true;
protected $batchValidate = false; // 是否采用批量验证
protected $batchValidate = false;
/** /**
* 初始化过的模型. * 初始化过的模型.