Browse Source

模型

develop
lemon 4 years ago
parent
commit
275a47b5fd
  1. 8
      app/Models/Category.php

8
app/Models/Category.php

@ -16,6 +16,14 @@ class Category extends BaseModel
protected $orderColumn = 'sort';
protected $titleColumn = 'name';
protected $fillable = [
'agent_id',
'name',
'pid',
'sort',
'template',
];
public function __construct(array $attributes = [])
{
parent::__construct($attributes);

Loading…
Cancel
Save