修复模型的一处BUG,编辑模型后再编辑报错

This commit is contained in:
2017-06-11 15:46:36 +08:00
parent deef5d9d52
commit fa979a5382

View File

@@ -14,7 +14,7 @@ namespace app\common\model;
*/
class Model extends Base{
protected $auto = [ 'update_time', 'field_sort', 'attribute_list'];
protected $auto = [ 'update_time'];
protected $insert = ['name', 'create_time', 'status'=>1];
protected $type = array(
'id' => 'integer',