更新 app/Models/Keyword.php
parent
c7008bf4d6
commit
0610bd20df
|
|
@ -15,10 +15,11 @@ class Keyword extends Model
|
||||||
{
|
{
|
||||||
use Filterable, HasDateTimeFormatter, TreePath;
|
use Filterable, HasDateTimeFormatter, TreePath;
|
||||||
|
|
||||||
protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'path', 'sort', 'level', 'options', 'image', 'description', 'content'];
|
protected $fillable = ['id', 'name', 'key', 'value', 'parent_id', 'path', 'sort', 'level', 'options', 'image', 'images', 'description', 'content'];
|
||||||
|
|
||||||
protected $casts = [
|
protected $casts = [
|
||||||
'options' => 'array',
|
'options' => 'array',
|
||||||
|
'images' => 'array',
|
||||||
'image' => StorageFile::class,
|
'image' => StorageFile::class,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue