mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-10 00:22:48 +08:00
修正traits
This commit is contained in:
@@ -14,9 +14,6 @@ namespace traits\model;
|
||||
trait Adv
|
||||
{
|
||||
protected $optimLock = 'lock_version';
|
||||
//protected $serializeField = [];
|
||||
//protected $readonlyField = [];
|
||||
//protected $partition = [];
|
||||
|
||||
/**
|
||||
* 利用__call方法重载 实现一些特殊的Model方法 (魔术方法)
|
||||
|
||||
@@ -15,9 +15,6 @@ use think\Lang;
|
||||
|
||||
trait Auto
|
||||
{
|
||||
//protected $validate = []; // 自动验证定义
|
||||
//protected $auto = []; // 自动完成定义
|
||||
|
||||
/**
|
||||
* 创建数据对象 但不保存到数据库
|
||||
* @access public
|
||||
|
||||
@@ -14,8 +14,6 @@ namespace traits\model;
|
||||
trait View
|
||||
{
|
||||
|
||||
protected $viewFields = [];
|
||||
|
||||
/**
|
||||
* 自动检测数据表信息
|
||||
* @access protected
|
||||
|
||||
Reference in New Issue
Block a user