修复模型的一处BUG,编辑模型后再编辑报错
This commit is contained in:
@@ -14,7 +14,7 @@ namespace app\common\model;
|
|||||||
*/
|
*/
|
||||||
class Model extends Base{
|
class Model extends Base{
|
||||||
|
|
||||||
protected $auto = [ 'update_time', 'field_sort', 'attribute_list'];
|
protected $auto = [ 'update_time'];
|
||||||
protected $insert = ['name', 'create_time', 'status'=>1];
|
protected $insert = ['name', 'create_time', 'status'=>1];
|
||||||
protected $type = array(
|
protected $type = array(
|
||||||
'id' => 'integer',
|
'id' => 'integer',
|
||||||
|
|||||||
Reference in New Issue
Block a user